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 mtahmed
Recipients mtahmed, vajrasky
Date 2013-12-12.18:33:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386873215.41.0.648744294845.issue19956@psf.upfronthosting.co.za>
In-reply-to
Content
Yes I understand your change and other possible changes will fix the reproducer. I am already using a different workaround in my code.

The issue is about `inspect.getsource()` having incorrect behavior (or at least inaccurate error message) and MethodType able to be constructed from another method leading to strange undocumented behavior (as far as I can tell).

I do not know what the correct resolution is to this issue which is why I posted this here so someone can suggest/approve a resolution and I can submit a patch once something is decided.
History
Date User Action Args
2013-12-12 18:33:35mtahmedsetrecipients: + mtahmed, vajrasky
2013-12-12 18:33:35mtahmedsetmessageid: <1386873215.41.0.648744294845.issue19956@psf.upfronthosting.co.za>
2013-12-12 18:33:35mtahmedlinkissue19956 messages
2013-12-12 18:33:35mtahmedcreate