[issue44089] csv.Error can't be subclassed

2021-05-09 Thread Oleg Hoefling
New submission from Oleg Hoefling : 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.

[issue41654] Segfault when raising MemoryError

2020-08-28 Thread Oleg Hoefling
Oleg Hoefling added the comment: If this is of any help, I've set up an example repository containing the snippet: https://github.com/hoefling/bpo-issue-41654 Here are the results of running the snippet in Travis with Python 3.{5-10} and Pypy 3.6: https://travis-ci.com/github/hoeflin

[issue41654] Segfault when raising MemoryError

2020-08-28 Thread Oleg Hoefling
New submission from Oleg Hoefling : First of all, I guess this is a somewhat obscure error that is unlikely to occur in a usual context, nevertheless IMO worth reporting. We observed this when unit-testing custom exception reporting mechanism, raising different exceptions in different