Message201174
Importing warnings pulls linecache at the top-level, while it's only necessary when printing warnings. The reason why it wasn't done lazily is obsolete, since Python now has per-module import locks. Attached patch makes the linecache imports lazy.
This is desirable for issue #19375. |
|
Date |
User |
Action |
Args |
2013-10-24 20:09:10 | pitrou | set | recipients:
+ pitrou, brett.cannon, christian.heimes |
2013-10-24 20:09:10 | pitrou | set | messageid: <1382645350.53.0.967299758483.issue19379@psf.upfronthosting.co.za> |
2013-10-24 20:09:10 | pitrou | link | issue19379 messages |
2013-10-24 20:09:10 | pitrou | create | |
|