[issue23710] C API doc for PyObject_HEAD is outdated

2016-08-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch. Committed capidocs.diff-2 with some tweaks. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue23710] C API doc for PyObject_HEAD is outdated

2016-08-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92b468020e07 by Berker Peksag in branch '3.5': Issue #23710: Update PyObject_HEAD documentation https://hg.python.org/cpython/rev/92b468020e07 New changeset 26dd6e7f1733 by Berker Peksag in branch 'default': Issue #23710: Merge from 3.5

[issue23710] C API doc for PyObject_HEAD is outdated

2016-08-02 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

[issue23710] C API doc for PyObject_HEAD is outdated

2016-08-02 Thread Evelyn Mitchell
Evelyn Mitchell added the comment: Changed to commit review. -- stage: needs patch -> commit review ___ Python tracker ___

[issue23710] C API doc for PyObject_HEAD is outdated

2016-08-02 Thread Evelyn Mitchell
Evelyn Mitchell added the comment: There is a patch, and it looks good to me. This should be moved into 'commit review' state. -- nosy: +Evelyn Mitchell ___ Python tracker

[issue23710] C API doc for PyObject_HEAD is outdated

2016-07-07 Thread R. David Murray
R. David Murray added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23710] C API doc for PyObject_HEAD is outdated

2016-07-07 Thread Ammar Askar
Ammar Askar added the comment: >The current text is what we want as far as that goes. Roger that, I've reverted the change to make that a warning in the newest diff. -- Added file: http://bugs.python.org/file43657/capidocs.diff-2 ___ Python tracker

[issue23710] C API doc for PyObject_HEAD is outdated

2016-07-07 Thread R. David Murray
R. David Murray added the comment: Warnings are big red boxes, and we try to only use those for really critical info. The current text is what we want as far as that goes. -- nosy: +r.david.murray ___ Python tracker

[issue23710] C API doc for PyObject_HEAD is outdated

2016-07-06 Thread Ammar Askar
Ammar Askar added the comment: This diff amends the documentation to point out that PyObject_HEAD includes the ob_base field, gives a brief overview of it and points to the PyObject/structures page for more information. It also changes the semicolon part to a warning for clarity. --

[issue23710] C API doc for PyObject_HEAD is outdated

2016-04-19 Thread Berker Peksag
Berker Peksag added the comment: Docs of PyObject_HEAD and friends have already been fixed in 760c5cfacbaa. https://docs.python.org/3/extending/newtypes.html still needs to be updated to mention ob_base: This is what a Noddy object will contain—in this case, nothing more than what every

[issue23710] C API doc for PyObject_HEAD is outdated

2015-03-19 Thread Tomi Pieviläinen
New submission from Tomi Pieviläinen: https://docs.python.org/3/c-api/structures.html#c.PyObject_HEAD says that the macro should be used for creating new types and that it has ob_type. Unfortunately at some point (@61466 perhaps) that definition in object.h was changed. This affects other