Backport of the Python 3.6 inspect module to Python 2.7-3.5
              
            
            Project Links
              
              
              
                
              
          
          
              Meta
              
              
          
          
          
          Author:  Jelle Zijlstra
              
              
              
          
              Classifiers
              
              
              
        Development Status
- 3 - Alpha
Intended Audience
- Developers
License
- OSI Approved :: Python Software Foundation License
Operating System
- OS Independent
Programming Language
- Python :: 2.7
- Python :: 3.2
- Python :: 3.3
- Python :: 3.4
- Python :: 3.5
- Python :: 3.6
Topic
- Software Development
inspect2
A backport of the Python 3.6 inspect module to Python 2.7-3.5.
This module was based on the code of the inspect module and its tests in the Python 3.6 standard library and modified to pass tests on earlier Python versions.
I have tried to follow these rules in writing the code:
- Minimize changes relative to the 3.6 source. This should make backporting of future changes easier.
- No support for old-style classes. Python 2 is hard enough without them.
- All functions should be available on all versions. inspect2.iscoroutinefunction()just always returns False on Python versions that don't haveasync def.
Wheel compatibility matrix
Files in release
              
                No dependencies