This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ajaksu2
Recipients ajaksu2, jcrocholl, nealmcb, phr, sketerpot, skip.montanaro
Date 2009-02-09.21:49:37
SpamBayes Score 1.2971241e-10
Marked as misclassified No
Message-id <>
Nicole King wrote:

I found I needed support for taint mode in python and have done some
work to realise this. It's by no means complete at this time, but I'm
floating this idea on this group to see how much interest there is.

The implementation is pretty simple:

- an extra field in PyObject to maintain the taint status
- a couple of extra functions __gettaint__() that returns the taint
status and __settaint__(value) that sets the taint value, returning the
previous status
- an additional command-line flag -a and environment variable
PYTHONIGNORETAINT that suppress taint checking
- a few macros defined in Objects/object.h to support taint management
- a new built-in exception, PyExc_TaintError, for reporting operations
on tainted objects

More information and download:
Date User Action Args
2009-02-09 21:49:40ajaksu2setrecipients: + ajaksu2, skip.montanaro, phr, sketerpot, jcrocholl, nealmcb
2009-02-09 21:49:39ajaksu2setmessageid: <>
2009-02-09 21:49:38ajaksu2linkissue500698 messages
2009-02-09 21:49:37ajaksu2create