summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-09-02 04:01:42 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-09-02 04:01:42 (GMT)
commit54bd41d81b23eb5d7f7a5f71fa2ceec28fb60296 (patch)
treeb3a716539809d01303911389ecc245e1900070b4 /Misc
parentec92e181fb912e9dc0935fc10bd61bfd4fb237d7 (diff)
downloadcpython-54bd41d81b23eb5d7f7a5f71fa2ceec28fb60296.zip
cpython-54bd41d81b23eb5d7f7a5f71fa2ceec28fb60296.tar.gz
cpython-54bd41d81b23eb5d7f7a5f71fa2ceec28fb60296.tar.bz2
The _warnings module did not properly handle cases where strings were not being
passed in as the message to use for a warning. Fixed along with making the code more robust against other errors where return values were not checked. Closes issue 3639. Code review by Benjamin Peterson.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5290a83..366fc54 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.0 release candidate 1
Core and Builtins
-----------------
+- Issue 3639: The _warnings module could segfault the interpreter when
+ unexpected types were passed in as arguments.
+
- Issue #3712: The memoryview object had a reference leak and didn't support
cyclic garbage collection.