Allow import of pdb and ipdb in restricted code.
Project description
Introduction
To make a long story short: sometimes you need to break into the debugger in the middle of a Script (Python). To prevent the frustrating Unauthorized: import of 'pdb' is unauthorized message, use this enablesettrace package.
This package supports importing the pdb and ipdb module.
Installation
The installation is as simple as making sure the package is located on the Python path. For example when you are using zc.buildout list Products.enablesettrace in the eggs section:
[buildout] ... eggs = ... Products.enablesettrace
Credits
This code was originally contributed by Zach Bir and committed by Jim Fulton. Mark van Lent eggified the product.
Changelog
0.2 (2010-04-02)
Also allow import of ipdb. [markvl]
0.1 (2010-04-02)
Initial release: eggified version of Products.enablesettrace as stored in the Zope Subversion Repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Hashes for Products.enablesettrace-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f565343eb158c6af4e5141ea48162dbf8a6bae274a08c3ea8e6973be78bedae |
|
MD5 | 4a1890abcbfb72d889326eb812615c73 |
|
BLAKE2b-256 | 8c674f4ebbaeddcd9410027c2ebee392b30bb38f2aa19f5f6d633f6c7f2f3aca |