summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-04-01 18:03:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-04-01 18:03:59 (GMT)
commit15ba4dae5a2b0bd2f06dff586cb469e7b5325209 (patch)
tree90c38806dad0ab8ae71a6544096f844d53c30b27 /Misc
parent24565d296c874402bfc91c32546cb0e0f3eedec5 (diff)
downloadcpython-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/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3d2b492..f5e280c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.