[pypy-issue] [issue1085] cpyext: PyString_AsString() returns bogus results for non-bytes input

David Ripton tracker at bugs.pypy.org
Tue Mar 13 18:22:10 CET 2012


David Ripton <d+pypy at ripton.net> added the comment:

My test shows that PyString_AsString(Py_None) raises TypeError as expected.
See
https://bitbucket.org/pypy/pypy/pull-request/50/issue1085-add-a-test-to-show-that

----------
nosy: +dripton
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1085>
________________________________________


More information about the pypy-issue mailing list