diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-14 06:02:16 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-14 06:02:16 +0000 |
commit | 885b5c3408e053585f43c4d02d17347d1c364877 (patch) | |
tree | df48c8df6246741c69c4c99b1256dd69f20b1a88 /Python/pythonrun.c | |
parent | 15ec8a588f9a40bd6b496406145202bd6c1ac77e (diff) | |
download | cpython-885b5c3408e053585f43c4d02d17347d1c364877.tar.gz |
Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and
PyObject_Unicode(). This problem was originally reported from Coverity
and addresses mail on python-dev "checkin r43015".
This inlines the conversion of the string to unicode and cleans
up/simplifies some code at the end of the PyObject_Unicode().
We really need a complete C API test module for all public APIs
and passing good and bad parameter values.
Will backport.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions