[New-bugs-announce] [issue30085] Discourage operator.__dunder__ functions

Steven D'Aprano report at bugs.python.org
Sun Apr 16 22:27:09 EDT 2017


New submission from Steven D'Aprano:

As discussed on the Python-Ideas mailing list, it is time to discourage the use of operator.__dunder__ functions. Not to remove them or deprecate them, just change the documentation to make it clear that the dunderless versions are preferred.

Guido +1'ed this suggestion, and there were no objections:

https://mail.python.org/pipermail/python-ideas/2017-April/045424.html

----------
assignee: docs at python
components: Documentation
messages: 291774
nosy: docs at python, ncoghlan, steven.daprano, terry.reedy
priority: normal
severity: normal
status: open
title: Discourage operator.__dunder__ functions

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30085>
_______________________________________


More information about the New-bugs-announce mailing list