[issue41832] PyType_FromSpec() should accept tp_doc=NULL
hai shi
report at bugs.python.org
Wed Nov 11 10:13:21 EST 2020
hai shi <shihai1991 at 126.com> added the comment:
> The PR entirely removed the note that a slot's value "May not be NULL".
> In fact, only tp_doc may be NULL. AFAIK, the restriction is still there > for other slots.
> Can that note be added back?
`May not be NULL` means everthing is possible, so I decided removed it:(
Before, I updated an old commit in PR23123 to describe this fact in https://github.com/python/cpython/pull/23123/commits/cca7bc7edf11a7d212ae70dcff6f10cf96fab470.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41832>
_______________________________________
More information about the Python-bugs-list
mailing list