Skip to main content

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 have async def.

Release files for inspect2 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inspect2 0.1.2
File Size Uploaded
inspect2-0.1.2.tar.gz 66.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inspect2 0.1.2
File Interpreter ABI Platform
inspect2-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 100.8 kB

Release files / inspect2-0.1.2.tar.gz

Download URL inspect2-0.1.2.tar.gz
Size 66.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4d27f1d036b2346a6ec7c6abf6b121dd2adab45c796ae45080d7988bed786d5e
BLAKE2b-256 checksum
How to use checksums
b1000c87bf6d739e7d343c4c87263620bc8ab0550a08afc22302064db0df3730
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.1

Release files / inspect2-0.1.2-py2.py3-none-any.whl

Download URL inspect2-0.1.2-py2.py3-none-any.whl
Size 34.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e8940b8de645e3533605d1a40d12b3541f1da4f784c305eb512212a8fb2db3d3
BLAKE2b-256 checksum
How to use checksums
6a6834c569e4a95bfa08113b3fd0fe0cd889612e5d29f5bfb1e63257b3211bc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page