projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8d715f
)
bpo-33559: Document changed repr of exceptions (GH-6943)
author
Miro Hrončok
<miro@hroncok.cz>
Thu, 17 May 2018 17:44:53 +0000
(19:44 +0200)
committer
Steve Dower
<steve.dower@microsoft.com>
Thu, 17 May 2018 17:44:53 +0000
(13:44 -0400)
Doc/whatsnew/3.7.rst
patch
|
blob
|
history
diff --git
a/Doc/whatsnew/3.7.rst
b/Doc/whatsnew/3.7.rst
index cc762736a0c7cb3772330916898a0e3405202b77..b22e9143437f70ff4bc1544711309d6e46318a07 100644
(file)
--- 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`.)