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 ueg1990
Recipients eric.snow, mtahmed, terry.reedy, ueg1990, vajrasky
Date 2015-04-13.16:47:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428943663.38.0.013289239845.issue19956@psf.upfronthosting.co.za>
In-reply-to
Content
After discussing with Eric Snow, this case scenario is an edge case. The assumption in the inspect module is that __func__ for a MethodType object is a function. The MethodType should be used for functions and not methods.

Patch attached for this.

This needs to be documented in the docs (separate ticket will be opened for that).
History
Date User Action Args
2015-04-13 16:47:43ueg1990setrecipients: + ueg1990, terry.reedy, eric.snow, vajrasky, mtahmed
2015-04-13 16:47:43ueg1990setmessageid: <1428943663.38.0.013289239845.issue19956@psf.upfronthosting.co.za>
2015-04-13 16:47:43ueg1990linkissue19956 messages
2015-04-13 16:47:43ueg1990create