summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-11 16:50:25 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-11 16:50:25 (GMT)
commitd8089e0d04a98ab7997eff7abc9abf2a4f6854b8 (patch)
tree3690ed07fb49970ca55ce6a7fd2477232697dfda /Misc
parent6e1ccfe87261a9bc3818d1b4c2409eb1b7db19c5 (diff)
downloadcpython-d8089e0d04a98ab7997eff7abc9abf2a4f6854b8.zip
cpython-d8089e0d04a98ab7997eff7abc9abf2a4f6854b8.tar.gz
cpython-d8089e0d04a98ab7997eff7abc9abf2a4f6854b8.tar.bz2
Issue #16382: Improve exception message of warnings.warn() for bad category.
Initial patch by Phil Elson.
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 16f0e6d..2d09336 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -108,6 +108,9 @@ Core and Builtins
Library
-------
+- Issue #16382: Improve exception message of warnings.warn() for bad
+ category. Initial patch by Phil Elson.
+
- Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead of
:c:type:`int` for the size to support reading more than 2 GB at once. On
Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS