[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce the crash with either example on 3.9 or 3.11 on a Mac. Please create a new issue if you still see a problem on a current version (>= 3.9). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> cl

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-09-09 Thread Gabriel C
Gabriel C added the comment: Some further investigation suggests this may have nothing to do with pickle at all. Consider the following short example: ``` def CreateDynamicClass(basetype): class DynamicClassImpl(basetype): def __init__(self): super(DynamicClassImpl, se

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-08-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-08-31 Thread Gabriel C
New submission from Gabriel C : The following results in a segfault on 3.7.4 (running on macOS high sierra) and 3.5 (running on ubuntu 16.04). It does not happen in python 2.7. The problem seems to involve two effects. The first is the creation of a class with a dynamic type that inherits fro