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 <1555529320.12.0.52279331998.issue36650@roundup.psfhosted.org>
In-reply-to
Content
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.

Side-note:

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)
History
Date User Action Args
2019-04-17 19:28:40josh.rsetrecipients: + josh.r, rhettinger, jaraco
2019-04-17 19:28:40josh.rsetmessageid: <1555529320.12.0.52279331998.issue36650@roundup.psfhosted.org>
2019-04-17 19:28:40josh.rlinkissue36650 messages
2019-04-17 19:28:39josh.rcreate