From 631753fcc5e88bbbad402933e77295675cfe1fee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 17 May 2018 19:44:53 +0200 Subject: [PATCH] bpo-33559: Document changed repr of exceptions (GH-6943) --- Doc/whatsnew/3.7.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index cc762736a0..b22e914343 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`.) -- 2.40.0