[IronPython] str, repr and getattr

Dino Viehland dinov at exchange.microsoft.com
Wed Jun 7 20:53:18 PDT 2006


Thanks for the report.  We'll fix this for the next release.  The fix is actually pretty simple (wrap the Ops.Call & return true in in OldClass.cs in OldInstance.TryGetAttr w/ a try/catch MissingMemberException, right after the 2nd TryRawGetAttr) if you want to work around it until then.

I'll have to do some further exploration to make sure we don't have similar issues w/ not trapping AttributeError (which we map to MissingMemberException).

________________________________________
From: users-bounces at lists.ironpython.com On Behalf Of Sanghyeon Seo
Sent: Wednesday, June 07, 2006 8:27 PM
To: Discussion of IronPython
Subject: Re: [IronPython] str, repr and getattr

2006/6/8, Sanghyeon Seo <sanxiyn at gmail.com>:
> See the attachment.

Oops, sorry. Wrong file.

Seo Sanghyeon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4114 bytes
Desc: not available
Url : /pipermail/users-ironpython.com/attachments/20060607/928cc2c7/winmail-0001.bin


More information about the users mailing list