From: Miro HronĨok Date: Thu, 17 May 2018 17:44:53 +0000 (+0200) Subject: bpo-33559: Document changed repr of exceptions (GH-6943) X-Git-Tag: v3.8.0a1~1815 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=631753fcc5e88bbbad402933e77295675cfe1fee;p=thirdparty%2FPython%2Fcpython.git bpo-33559: Document changed repr of exceptions (GH-6943) --- diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index cc762736a0c7..b22e9143437f 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`.)