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 ezio.melotti, pitrou, vstinner
Date 2013-06-23.14:02:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371996125.82.0.699801298609.issue12520@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot reproduce this isuse, was it fixed?

$ ./python -m test test_warnings
[1/1] test_warnings
1 test OK.

> Also, I don't understand how test_filename_none is supposed to check for issue #12467 (it doesn't use a subprocess).

You don't need a subprocess to reproduce the issue, you just have to emit a warning with __file__=None. At shutdown, __file__ is set to None by Py_Finalize, whereas a warning is emitted because a file was not closed explicitly.
History
Date User Action Args
2013-06-23 14:02:05vstinnersetrecipients: + vstinner, pitrou, ezio.melotti
2013-06-23 14:02:05vstinnersetmessageid: <1371996125.82.0.699801298609.issue12520@psf.upfronthosting.co.za>
2013-06-23 14:02:05vstinnerlinkissue12520 messages
2013-06-23 14:02:05vstinnercreate