Skip to main content

Allow import of pdb 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.

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 contributed by Zach Bir and committed by Jim Fulton. Mark van Lent eggified the product.

Changelog

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 Distribution

Products.enablesettrace-0.1.tar.gz (3.4 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