[Python-checkins] bpo-33559: Document changed repr of exceptions (GH-6943)

Steve Dower webhook-mailer at python.org
Thu May 17 13:44:56 EDT 2018


https://github.com/python/cpython/commit/631753fcc5e88bbbad402933e77295675cfe1fee
commit: 631753fcc5e88bbbad402933e77295675cfe1fee
branch: master
author: Miro Hrončok <miro at hroncok.cz>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2018-05-17T13:44:53-04:00
summary:

bpo-33559: Document changed repr of exceptions (GH-6943)

files:
M Doc/whatsnew/3.7.rst

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`.)
 



More information about the Python-checkins mailing list