Message393320
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 |
|
Date |
User |
Action |
Args |
2021-05-09 12:15:42 | hoefling | set | recipients:
+ hoefling |
2021-05-09 12:15:42 | hoefling | set | messageid: <1620562542.84.0.0917814059053.issue44089@roundup.psfhosted.org> |
2021-05-09 12:15:42 | hoefling | link | issue44089 messages |
2021-05-09 12:15:42 | hoefling | create | |
|