[issue1062277] Pickle breakage with reduction of recursive structures

2021-12-16 Thread Daniel Diniz
Change by Daniel Diniz : -- versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1062277] Pickle breakage with reduction of recursive structures

2015-11-21 Thread Davis Herring
Davis Herring added the comment: Re msg110868: it's impossible to resolve a __reduce__ loop that involves only immutable intermediate objects (including none at all): class Direct: def __reduce__(self): return id,(self,) # obviously impossible class Indirect: # Can't create either the new

[issue1062277] Pickle breakage with reduction of recursive structures

2014-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Problem B has been resolved, but problem A is still there. Python 3.4.1 (default, Jun 29 2014, 15:26:46) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux Type help, copyright, credits or license for more information. class C: ... def __init__(self,

[issue1062277] Pickle breakage with reduction of recursive structures

2012-12-28 Thread Eugene Toder
Eugene Toder added the comment: To recap, the issue is that pickle doesn't handle recursion via reduce arguments (i.e. arguments to the constructor function as returned in 2nd element of the tuple from __reduce__). This leads to 2 kind of effects: class C: def __init__(self, x=None):

[issue1062277] Pickle breakage with reduction of recursive structures

2012-12-28 Thread Eugene Toder
Changes by Eugene Toder elto...@gmail.com: -- versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___

[issue1062277] Pickle breakage with reduction of recursive structures

2012-07-27 Thread Stefan Mihaila
Changes by Stefan Mihaila mstefa...@gmail.com: -- nosy: +mstefanro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___ ___ Python-bugs-list

[issue1062277] Pickle breakage with reduction of recursive structures

2012-07-26 Thread mike bayer
Changes by mike bayer mike...@zzzcomputing.com: -- nosy: +zzzeek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___ ___ Python-bugs-list

[issue1062277] Pickle breakage with reduction of recursive structures

2011-04-24 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___ ___ Python-bugs-list

[issue1062277] Pickle breakage with reduction of recursive structures

2011-03-08 Thread bcroq
Changes by bcroq bertrand.c...@gmail.com: -- nosy: +bcroq ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___ ___ Python-bugs-list mailing

[issue1062277] Pickle breakage with reduction of recursive structures

2010-08-19 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: feature request - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___

[issue1062277] Pickle breakage with reduction of recursive structures

2010-07-19 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- components: +Library (Lib) -Interpreter Core ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1062277 ___

[issue1062277] Pickle breakage with reduction of recursive structures

2010-07-19 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: As I explained in msg110617 under issue9269, it is possible that we can do better than simply detect reduce cycles and bail out. I am torn between two options: 1. Reject this patch and wait until a proper solution is

[issue1062277] Pickle breakage with reduction of recursive structures

2010-07-15 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: The issue is still present in py3k. Attaching an updated patch with tests only. Is this the same as issue998998? -- assignee: - belopolsky nosy: +alexandre.vassalotti, belopolsky stage: - needs patch versions:

[issue1062277] Pickle breakage with reduction of recursive structures

2009-02-14 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Patch has test, can someone try it? I think it might be fixed already. -- nosy: +ajaksu2 type: - feature request versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org