Staging
v0.5.1
https://github.com/python/cpython
Revision 9165680203a10341e7e76c92d12c76f5ddd1f6e1 authored by Neal Norwitz on 14 March 2006, 06:10:22 UTC, committed by Neal Norwitz on 14 March 2006, 06:10:22 UTC
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.
1 parent 2f014f8
History
Tip revision: 9165680203a10341e7e76c92d12c76f5ddd1f6e1 authored by Neal Norwitz on 14 March 2006, 06:10:22 UTC
Backport 43022:
Tip revision: 9165680

README

back to top