[issue21949] Document the Py_SIZE() macro.

2016-01-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63183596db79 by Gregory P. Smith in branch '2.7': Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros. https://hg.python.org/cpython/rev/63183596db79 -- nosy: +python-dev ___ Pyt

[issue21949] Document the Py_SIZE() macro.

2016-01-22 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: out of date -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue21949] Document the Py_SIZE() macro.

2016-01-22 Thread Berker Peksag
Berker Peksag added the comment: Thanks for triaging! The relevant commit is 760c5cfacbaa. -- nosy: +berker.peksag resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue21949] Document the Py_SIZE() macro.

2016-01-22 Thread Gedai Tamás Bence
Gedai Tamás Bence added the comment: Py_SIZE: https://docs.python.org/3.5/c-api/structures.html#c.Py_SIZE PyList_New: https://docs.python.org/3.5/c-api/list.html#c.PyList_New I think they're documented now, so I guess the issue can be closed. -- nosy: +beng94 __

[issue21949] Document the Py_SIZE() macro.

2014-10-19 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> needs patch type: performance -> enhancement ___ Python tracker ___ ___ Python-bugs-list mail

[issue21949] Document the Py_SIZE() macro.

2014-07-09 Thread Gregory P. Smith
New submission from Gregory P. Smith: The Py_SIZE() macro is not documented. It should be. It is very useful along with PyList_New(positive_number) after using PyList_SET_ITEM() to fill in up to the first positive_number elements of a list object in the most optimal manner by avoiding numero