Message253563
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. |
|
Date |
User |
Action |
Args |
2015-10-27 21:07:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, Arfrever, bevan |
2015-10-27 21:07:41 | serhiy.storchaka | set | messageid: <1445980061.94.0.0140534359115.issue25493@psf.upfronthosting.co.za> |
2015-10-27 21:07:41 | serhiy.storchaka | link | issue25493 messages |
2015-10-27 21:07:41 | serhiy.storchaka | create | |
|