New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

future-breakpoint

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

future-breakpoint

A backport of `breakpoint` to python<3.7

  • 2.0.0
  • PyPI
  • Socket score

Maintainers
1

Build Status Azure DevOps coverage

future-breakpoint

A backport of breakpoint to python<3.7.

install

pip install future-breakpoint

supported versions

python3+, (noop on python3.7+)

usage

Once installed, you should be able to use breakpoint() in the same way as in python3.7+.

def rand():
    breakpoint()  # no need for `import pdb; pdb.set_trace()`
    return 4

See PEP 553 for full usage!

how though?

  • a C extension which implements the PEP
  • a .pth file executed on startup (see setup.py) patches sys / builtins

you may also like

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