This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Clarify that Py_VISIT(NULL) does nothing
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eric.araujo, ezio.melotti, georg.brandl, petr.viktorin, python-dev
Priority: normal Keywords: patch

Created on 2016-06-02 17:21 by petr.viktorin, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
0001-Doc-c-api-Clarify-that-Py_VISIT-NULL-does-nothing.patch petr.viktorin, 2016-06-02 17:21 Patch
Messages (2)
msg266894 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2016-06-02 17:21
The Py_VISIT macro (in Include/objimpl.h) does nothing if passed NULL (and did this since its introduction). It would be nice to have this formally documented.
msg266907 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-02 18:36
New changeset 7c67cb3b54b4 by Benjamin Peterson in branch '3.5':
note that Py_VISIT handles NULL (closes #27183)

New changeset 42356e44af23 by Benjamin Peterson in branch '2.7':
note that Py_VISIT handles NULL (closes #27183)
Date User Action Args
2022-04-11 14:58:31adminsetgithub: 71370
2016-06-02 18:36:35python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg266907

resolution: fixed
stage: resolved
2016-06-02 17:21:48petr.viktorincreate