New submission from Dan Snider: That is inconsistent with every other object.__dunder_method__ which still work even if the instance gets an attribute with the same name.
---------- components: Library (Lib) messages: 296337 nosy: assume_away priority: normal severity: normal status: open title: pickle uses getattr(obj, '__reduce__') instead of getattr(type(obj), '__reduce__') type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com