This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, amaury.forgeotdarc, belopolsky, ezio.melotti, jafo, lemburg, loewis, python-dev, ronaldoussoren, vstinner
Date 2011-06-20.13:07:55
SpamBayes Score 4.728601e-06
Marked as misclassified No
Message-id <1308575276.08.0.0248142256664.issue6697@psf.upfronthosting.co.za>
In-reply-to
Content
> I wrote a similar patch to add PyModule_GetNameObject() 
> (I am working on another huge patch, to fix #3080)

Issue #3080 added the PyModule_GetNameObject() function, so it simplify your patch.

I commited your issue6697-lsprof.diff patch, I just fixed a refleak (if modname is "builtins").

I want to close this generic issue. I think that we fixed enough code. If you still see code not checking that _PyUnicode_AsString() result is not NULL, please open a new specific issue.
History
Date User Action Args
2011-06-20 13:07:56vstinnersetrecipients: + vstinner, lemburg, loewis, jafo, ronaldoussoren, amaury.forgeotdarc, belopolsky, ezio.melotti, Arfrever, python-dev
2011-06-20 13:07:56vstinnersetmessageid: <1308575276.08.0.0248142256664.issue6697@psf.upfronthosting.co.za>
2011-06-20 13:07:55vstinnerlinkissue6697 messages
2011-06-20 13:07:55vstinnercreate