[issue29260] Use designated initializers to define PyTypeObject types
STINNER Victor
report at bugs.python.org
Wed Feb 1 11:52:57 EST 2017
STINNER Victor added the comment:
The question was discussed on the python-dev mailing list:
[Python-Dev] Can we use "designated initializer" widely in core modules?
https://mail.python.org/pipermail/python-dev/2017-January/147154.html
I understood that it's ok to use them in new code, but not to convert existing code:
Guido van Rossum: "I'm against changing any existing code to use it -- such massive changes are high risk and low reward. Just do it for new fields or new types."
https://mail.python.org/pipermail/python-dev/2017-January/147175.html
So I close this issue.
Note: I rejected my changes to add new tp_fastnew, tp_fastinit and tp_fastcall slots, issues #29358 and #29259.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29260>
_______________________________________
More information about the Python-bugs-list
mailing list