Skip to main content

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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

Products.Ienablesettrace-1.0.zip (8.4 kB view hashes)

Uploaded Source

Products.Ienablesettrace-1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page