Fork of Products.enablesettrace which also allows import of 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. It is a fork of the Products.enablesettrace package.
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.Ienablesettrace in the eggs section:
[buildout] ... eggs = ... Products.Ienablesettrace
Credits
This code was originally contributed by Zach Bir and committed by Jim Fulton. Mark van Lent eggified the product.
Changelog
1.1.0 (2021-01-20)
Note: this project is inactive.
Code cleanup: black, pyflakes, flake8, pyroma.
Moved to Plone collective: https://github.com/collective/Products.Ienablesettrace
1.0 (2010-05-30)
Forked Products.enablesettrace version 0.2 and changed name to Products.Ienablesettrace since the former will have the added inclusion of ipdb removed in the next release. [markvl]
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 Distribution
File details
Details for the file Products.Ienablesettrace-1.1.0.tar.gz
.
File metadata
- Download URL: Products.Ienablesettrace-1.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b553ea1a4332956b8d3dc635ba91beb3f2da78cfe74eed167e268be6edfc86f |
|
MD5 | 686b6f1b198de576d3b318d1dce9fe8c |
|
BLAKE2b-256 | 961ae864245da3cb81cb6dd80ee9fa25db3c6b87de87608e880bc39fce385dc0 |