Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inspect2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspect2

Backport of the Python 3.6 inspect module to Python 2.7-3.5

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc