Claudiu Popa added the comment: Here's a patch which does this. One problem could be that staticmethod(some_callable) or classmethod(some_callable) aren't callable per se, but given the fact that users expects Foo.staticmethod or Foo.klassmethod to be callable when patching them, it's something we should consider for fixing.
---------- components: +Library (Lib) -Tests keywords: +patch nosy: +Claudiu.Popa stage: -> patch review Added file: http://bugs.python.org/file37818/issue23078.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23078> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com