comparison Python/pythonrun.c @ 78992:afe55cd04119 3.2

Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
author Christian Heimes <christian@cheimes.de>
date Tue, 11 Sep 2012 17:30:53 +0200
parents 09408b990ca5
children b256d054f229 92c6bbf7bb85
comparison
equal deleted inserted replaced
78986:8a40bc71c072 78992:afe55cd04119