summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiro HronĨok <miro@hroncok.cz>2018-05-17 17:44:53 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2018-05-17 17:44:53 (GMT)
commit631753fcc5e88bbbad402933e77295675cfe1fee (patch)
treead981e944a5961be34289875a168eff2540a4d22 /Doc/whatsnew
parentd8d715f5148d0c10e93a79bc4172fbd9c5b3a86e (diff)
downloadcpython-631753fcc5e88bbbad402933e77295675cfe1fee.zip
cpython-631753fcc5e88bbbad402933e77295675cfe1fee.tar.gz
cpython-631753fcc5e88bbbad402933e77295675cfe1fee.tar.bz2
bpo-33559: Document changed repr of exceptions (GH-6943)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index cc76273..b22e914 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -1238,6 +1238,9 @@ Changes in the Python API
:func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
Python versions.
+* ``repr`` for :exc:`BaseException` has changed not to include trailing comma
+ in the output. Mind that most exceptions are affected by this change.
+
* ``repr`` for :class:`datetime.timedelta` has changed to include keyword arguments
in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)