Author flying sheep
Recipients flying sheep
Date 2014-10-24.15:02:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414162979.59.0.692601319144.issue22716@psf.upfronthosting.co.za>
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: <1414162979.59.0.692601319144.issue22716@psf.upfronthosting.co.za>
2014-10-24 15:02:59flying sheeplinkissue22716 messages
2014-10-24 15:02:59flying sheepcreate