[IronPython] __dict__ of exception instances

Michael Foord fuzzyman at voidspace.org.uk
Tue Mar 11 23:16:24 CET 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 Ironpython-users mailing list