diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-04-01 18:03:59 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-04-01 18:03:59 (GMT) |
commit | 15ba4dae5a2b0bd2f06dff586cb469e7b5325209 (patch) | |
tree | 90c38806dad0ab8ae71a6544096f844d53c30b27 /Misc | |
parent | 24565d296c874402bfc91c32546cb0e0f3eedec5 (diff) | |
download | cpython-15ba4dae5a2b0bd2f06dff586cb469e7b5325209.zip cpython-15ba4dae5a2b0bd2f06dff586cb469e7b5325209.tar.gz cpython-15ba4dae5a2b0bd2f06dff586cb469e7b5325209.tar.bz2 |
_warnings was importing itself to get an attribute. That's bad if warnings gets
called in a thread that was spawned by an import itself.
Last part to close #1665206.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #1665206: Remove the last eager import in _warnings.c and make it lazy. + - Issue #4865: On MacOSX /Library/Python/2.7/site-packages is added to the end sys.path, for compatibility with the system install of Python. |