This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Exception's repr change not documented
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Elvis.Pranskevichus, docs@python, hroncok, miss-islington, ned.deily, serhiy.storchaka, steve.dower, yselivanov
Priority: normal Keywords: patch

Created on 2018-05-17 16:04 by hroncok, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6943 merged hroncok, 2018-05-17 16:22
PR 6950 merged miss-islington, 2018-05-17 17:46
PR 6954 merged hroncok, 2018-05-17 18:17
PR 6956 merged miss-islington, 2018-05-17 19:06
Messages (9)
msg316953 - (view) Author: Miro Hrončok (hroncok) * Date: 2018-05-17 16:04
Python 3.6.5 ...
>>> Exception('foo',)
Exception('foo',)

Python 3.7.0b4 ...
>>> Exception('foo',)
Exception('foo')

This is a change that might bit people who rely on doctesting.

It is not documented at https://docs.python.org/3.7/whatsnew/3.7.html

I'll send a PR.
msg316968 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2018-05-17 17:44
New changeset 631753fcc5e88bbbad402933e77295675cfe1fee by Steve Dower (Miro Hrončok) in branch 'master':
bpo-33559: Document changed repr of exceptions (GH-6943)
https://github.com/python/cpython/commit/631753fcc5e88bbbad402933e77295675cfe1fee
msg316971 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-17 18:05
This was done in issue30399, and I was not sure that this change is worth adding in What's New. Add a reference to the issue.
msg316972 - (view) Author: Miro Hrončok (hroncok) * Date: 2018-05-17 18:35
I was bit by this, so that's why I think this is worth documenting. https://github.com/testing-cabal/testtools/issues/270
msg316973 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2018-05-17 18:41
New changeset 54fc49737a6a79f6e2ece16e22b233858b836567 by Steve Dower (Miss Islington (bot)) in branch '3.7':
bpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)
https://github.com/python/cpython/commit/54fc49737a6a79f6e2ece16e22b233858b836567
msg316974 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2018-05-17 18:41
It's worth documenting. I'll merge the next PR with the attribution.
msg316977 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2018-05-17 19:05
New changeset fb9dd8915314d857161de89fcbbb041f2b49fc22 by Steve Dower (Miro Hrončok) in branch 'master':
bpo-33559: Attribute changed repr of exceptions (GH-6954)
https://github.com/python/cpython/commit/fb9dd8915314d857161de89fcbbb041f2b49fc22
msg316981 - (view) Author: miss-islington (miss-islington) Date: 2018-05-17 20:10
New changeset efa642779739b5af028b0f6ebb9033395e124273 by Miss Islington (bot) in branch '3.7':
bpo-33559: Attribute changed repr of exceptions (GH-6954)
https://github.com/python/cpython/commit/efa642779739b5af028b0f6ebb9033395e124273
msg317014 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-18 08:07
Thank you for your report and PR Miro!
History
Date User Action Args
2022-04-11 14:59:00adminsetgithub: 77740
2018-05-18 08:07:01serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg317014

stage: patch review -> resolved
2018-05-17 20:10:07miss-islingtonsetnosy: + miss-islington
messages: + msg316981
2018-05-17 19:06:12miss-islingtonsetpull_requests: + pull_request6615
2018-05-17 19:05:10steve.dowersetmessages: + msg316977
2018-05-17 18:41:18steve.dowersetmessages: + msg316974
2018-05-17 18:41:15steve.dowersetmessages: + msg316973
2018-05-17 18:35:03hroncoksetmessages: + msg316972
2018-05-17 18:17:49hroncoksetpull_requests: + pull_request6614
2018-05-17 18:05:22serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg316971
2018-05-17 17:46:10miss-islingtonsetpull_requests: + pull_request6613
2018-05-17 17:44:55steve.dowersetnosy: + steve.dower
messages: + msg316968
2018-05-17 16:22:29hroncoksetkeywords: + patch
stage: patch review
pull_requests: + pull_request6611
2018-05-17 16:05:11hroncoksettype: behavior
2018-05-17 16:04:58hroncokcreate