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 josh.r
Recipients jaraco, josh.r, rhettinger
Date 2019-04-17.19:28:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems highly likely this is related to #26110 which optimizes method calls by avoiding the creation of bound methods in certain circumstances, and/or the follow-up #29263.


bound_method = functools.partial(method, self)

is not how you create real bound methods. The correct approach (that makes a bound method identical to what the interpreter makes when necessary) for your use case is:

bound_method = types.MethodType(method, self)
Date User Action Args
2019-04-17 19:28:40josh.rsetrecipients: + josh.r, rhettinger, jaraco
2019-04-17 19:28:40josh.rsetmessageid: <>
2019-04-17 19:28:40josh.rlinkissue36650 messages
2019-04-17 19:28:39josh.rcreate