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.

classification
Title: PyCapsule_New's argument *must* not a NULL.
Type: Stage:
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: docs@python Nosy List: benjamin.peterson, docs@python, jcea, larry, methane
Priority: normal Keywords:

Created on 2011-11-08 02:54 by methane, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg147269 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2011-11-08 02:54
http://docs.python.org/c-api/capsule.html?highlight=capsule#PyCapsule_New

> The pointer argument may not be NULL.

I think "must not" is correct.
msg147273 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2011-11-08 04:29
In this context, "may" means "allowed to". In other words, it is equivalent to "The pointer argument is not allowed to be NULL".
History
Date User Action Args
2022-04-11 14:57:23adminsetgithub: 57576
2011-11-08 04:29:15benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg147273

resolution: works for me
2011-11-08 04:00:36jceasetnosy: + jcea
2011-11-08 03:03:50ezio.melottisetnosy: + larry
2011-11-08 02:54:58methanecreate