This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flying sheep
Recipients flying sheep
Date 2014-10-24.15:02:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Trying to replicate a Ruby Gem that raises a “did you mean” error when mistyping a method name, I hit a showstopper:

There seems to be no way to get the object which misses an attribute from an AttributeError.

I propose the appended patch (it might be completely broken because I’m not experienced in the Python C API, but I tried)
History
Date User Action Args
2014-10-24 15:02:59flying sheepsetrecipients: + flying sheep
2014-10-24 15:02:59flying sheepsetmessageid: <[email protected]>
2014-10-24 15:02:59flying sheeplinkissue22716 messages
2014-10-24 15:02:59flying sheepcreate