]> granicus.if.org Git - python/commitdiff
bpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 May 2018 18:41:07 +0000 (11:41 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Thu, 17 May 2018 18:41:07 +0000 (14:41 -0400)
(cherry picked from commit 631753fcc5e88bbbad402933e77295675cfe1fee)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Doc/whatsnew/3.7.rst

index 0a0c7d3659f1ef7bc71821dbdc76cdb359ff86dd..30aeb3a0e49ef274b83687519bb443b12615a786 100644 (file)
@@ -1240,6 +1240,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`.)