New submission from Petr Viktorin: 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.
---------- assignee: docs@python components: Documentation files: 0001-Doc-c-api-Clarify-that-Py_VISIT-NULL-does-nothing.patch keywords: patch messages: 266894 nosy: docs@python, encukou, eric.araujo, ezio.melotti, georg.brandl priority: normal severity: normal status: open title: Clarify that Py_VISIT(NULL) does nothing type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file43102/0001-Doc-c-api-Clarify-that-Py_VISIT-NULL-does-nothing.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27183> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com