[issue18556] ctypes' U_set() doesn't check return value of PyUnicode_AsWideChar()
Brett Cannon
report at bugs.python.org
Thu Jul 25 23:37:45 CEST 2013
Brett Cannon added the comment:
Thanks for the check, Matthew, but if you look at the other *_set() methods they do not necessarily DECREF their 'value' argument. Plus if PyUnicode_AsWideChar() fails it means memory is full or a fatal error has triggered, so there are bigger worries. =)
----------
nosy: +brett.cannon
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18556>
_______________________________________
More information about the Python-bugs-list
mailing list