[IronPython] __dict__ of exception instances

Michael Foord fuzzyman at voidspace.org.uk
Tue Mar 11 15:16:24 PDT 2008


Hello guys,

Attempting to access the '__dict__' attribute of a SyntaxError exception
in IP2a8 *returns* an 'OperationFailed' object.

The codeop module (Python standard library) compiles source code and
*compares* the __dict__ attribute of SyntaxError exception instances...

(I can work around this bug for the interactive interpreter...)

Michael Foord
http://www.manning.com/foord




More information about the Users mailing list