[issue6697] Check that _PyUnicode_AsString() result is not NULL

Alexander Belopolsky report at bugs.python.org
Thu Dec 9 01:13:33 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I am attaching an untested rewrite of normalizeUserObj() in _lsprof.c for comments on whether it is worth the effort.  There might be other places where PyModule_GetName() can be profitably replaced with PyModule_GetNameObject().

----------
Added file: http://bugs.python.org/file19980/issue6697-lsprof.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6697>
_______________________________________


More information about the Python-bugs-list mailing list