[IronPython] __dict__ of exception instances

Dave Fugate dfugate at microsoft.com
Tue Mar 11 23:24:29 CET 2008

Strange...  Filed as http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=15571 and thanks for reporting this!

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Tuesday, March 11, 2008 3:16 PM
To: Discussion of IronPython
Subject: [IronPython] __dict__ of exception instances

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

Users mailing list
Users at lists.ironpython.com

More information about the Ironpython-users mailing list