New submission from Serhiy Storchaka: Proposed patch gets rid of uses and mentions of bad dunder names. I.e. names inherited from Python 2: __cmp__, __nonzero__, __getslice__, __unicode__, __div__, etc. They are replaced by correct names (__truediv__, __floordiv__, __eq__, __bool__, etc) or removed. Also fixed typos and other minor bugs. Also added support for __matmul__ and __getnewargs_ex__ in unittest.mock and added tests for __matmul__.
---------- components: Library (Lib), Tests files: bad_dunder_names.patch keywords: patch messages: 237868 nosy: ezio.melotti, michael.foord, pitrou, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Got rid of bad dunder names type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file38443/bad_dunder_names.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com