[issue38770] Pickle handle self references in classes

2020-04-21 Thread Furkan Onder
Furkan Onder added the comment: Ahh. I misunderstood the problem. Pickle behaves differently when it is a circular reference. If you have a solution, I am waiting with curiosity. -- ___ Python tracker _

[issue38770] Pickle handle self references in classes

2020-04-21 Thread Furkan Onder
Furkan Onder added the comment: I ran your script and didn't get RecursionError. The issue seems to be fixed. Python 3.8.2 (default, Apr 8 2020, 14:31:25) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from __future__ import print_function >>>

[issue38770] Pickle handle self references in classes

2019-11-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38770] Pickle handle self references in classes

2019-11-11 Thread Saim Raza
New submission from Saim Raza : If the __qualname__ of a class is set to have a circular reference to itself, pickle behaves differently based on protocol. Following script demonstrates the issue: == from __future__ import print_function im