[issue19477] document tp_print() as being dead in Py3
New submission from Stefan Behnel: The "tp_print" slot is still documented as it was in Py2, although it is no longer used in Py3. http://docs.python.org/3.4/c-api/typeobj.html?highlight=tp_print#PyTypeObjec... Given that it no longer serves any purpose, it should at least be deprecated and documented as unused/ignored (and eventually removed completely, at the same time as tp_reserved). ---------- assignee: docs@python components: Documentation messages: 201933 nosy: docs@python, scoder priority: normal severity: normal status: open title: document tp_print() as being dead in Py3 type: behavior versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Mark Lawrence added the comment: @Stefan can you provide a patch for this? ---------- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.1, Python 3.2, Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Changes by Antoine Pitrou <pitrou@free.fr>: ---------- stage: -> needs patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Stefan Behnel added the comment: Sure. ---------- keywords: +patch Added file: http://bugs.python.org/file36813/undocument_tp_print.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Changes by Stefan Behnel <scoder@users.sourceforge.net>: Removed file: http://bugs.python.org/file36813/undocument_tp_print.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Changes by Stefan Behnel <scoder@users.sourceforge.net>: Added file: http://bugs.python.org/file36815/undocument_tp_print.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
Roundup Robot added the comment: New changeset bead459ccce8 by Georg Brandl in branch '3.4': Closes #19477: remove outdated documentation of tp_print type object slot. https://hg.python.org/cpython/rev/bead459ccce8 ---------- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19477> _______________________________________
participants (4)
-
Antoine Pitrou
-
Mark Lawrence
-
Roundup Robot
-
Stefan Behnel