[issue29865] Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types

2017-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fff9a31a91283c39c363af219e595eab7d4da6f7 by Serhiy Storchaka in branch 'master': bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748)

[issue29865] Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types

2017-03-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29865] Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types

2017-03-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +662 ___ Python tracker ___ ___

[issue29865] Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types

2017-03-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch replaces Py_SIZE with PyXXX_GET_SIZE macros for concrete types. For details see https://mail.python.org/pipermail/python-dev/2017-March/147628.html . Py_SIZE still is used in concrete type implementations and when set the new size: