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.

Author hoefling
Recipients hoefling
Date 2021-05-09.12:15:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620562542.84.0.0917814059053.issue44089@roundup.psfhosted.org>
In-reply-to
Content
Due to changes introduced in https://bugs.python.org/issue14935 the `csv.Error` can't be subclassed in 3.10. To reproduce:

Python 3.9.4 (default, Apr  6 2021, 00:00:00)
>>> import csv
>>> class C(csv.Error):
...     pass


Python 3.10.0b1 (default, May  4 2021, 00:00:00)
>>> import csv
>>> class C(csv.Error):
...     pass
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: type '_csv.Error' is not an acceptable base type
History
Date User Action Args
2021-05-09 12:15:42hoeflingsetrecipients: + hoefling
2021-05-09 12:15:42hoeflingsetmessageid: <1620562542.84.0.0917814059053.issue44089@roundup.psfhosted.org>
2021-05-09 12:15:42hoeflinglinkissue44089 messages
2021-05-09 12:15:42hoeflingcreate