[issue35504] `del OSError().characters_written` raises `SystemError`
Serhiy Storchaka
report at bugs.python.org
Sat Dec 15 16:25:52 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
> Why is it using -1 instead of NULL as the "not-set-indicator"?
Because the field of the C structure has integer type, and it can not be the NULL pointer.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35504>
_______________________________________
More information about the Python-bugs-list
mailing list