Thanks for the bug report. I've opened CodePlex bug #1689 to track this (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=1689) .
Just to make sure we get the correct priority - is this blocking you? My only concern is that the fix here could be a little destabilizing. The point when we're catching the wibble exception and the point where we re-throw the fish exception are rather disconnected. We'd like to minimize the churn now that we're at the end game so if it's not a blocker it might be better to wait for this one until 1.01. If it is a blocker let us know and we'll take a closer look at it. Thanks! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Szumiec Sent: Monday, August 07, 2006 3:22 AM To: [email protected] Subject: [IronPython] AttributeError problem Hi, We've discovered a bug in 1.0RC1. The behavior between CPython and IP differs. Code: class AttributeTest(object): def __getattr__(self, name): print 'hello' raise AttributeError('wibble') AttributeTest().fish IronPython trace: hello Traceback (most recent call last): File c:\development\Resolver\CSharp\RSIronPython\Engine.cs, line 52, in RunPythonFile File , line 0, in C:\development\att Test.py##1 AttributeError: fish CPython trace: C:\development>"att Test.py" hello Traceback (most recent call last): File "C:\development\att Test.py", line 7, in ? AttributeTest().fish File "C:\development\att Test.py", line 4, in __getattr__ raise AttributeError('wibble') AttributeError: wibble _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
