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 serhiy.storchaka
Recipients Arfrever, bevan, brett.cannon, serhiy.storchaka
Date 2015-10-27.21:07:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445980061.94.0.0140534359115.issue25493@psf.upfronthosting.co.za>
In-reply-to
Content
The "sys" file is not imported. It is read by linecache.

warnings.warn() tries to determine the file name by looking at __file__ in module's globals. If it fails, it falls back to the module name. Definitely it fails also for builtin modules, binary extensions and zipimported modules.
History
Date User Action Args
2015-10-27 21:07:42serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, Arfrever, bevan
2015-10-27 21:07:41serhiy.storchakasetmessageid: <1445980061.94.0.0140534359115.issue25493@psf.upfronthosting.co.za>
2015-10-27 21:07:41serhiy.storchakalinkissue25493 messages
2015-10-27 21:07:41serhiy.storchakacreate