New submission from Miro Hrončok <>:

Python 3.6.5 ...
>>> Exception('foo',)

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

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

It is not documented at

I'll send a PR.

assignee: docs@python
components: Documentation
messages: 316953
nosy: Elvis.Pranskevichus, docs@python, hroncok, ned.deily, yselivanov
priority: normal
severity: normal
status: open
title: Exception's repr change not documented
versions: Python 3.7, Python 3.8

Python tracker <>
Python-bugs-list mailing list

Reply via email to