IronLanguages / main

Work for this repo has moved to https://github.com/IronLanguages/ironpython2
1.16k stars 347 forks source link

stack overflow when pickling on recursive deque #528

Open ironpythonbot opened 9 years ago

ironpythonbot commented 9 years ago
IronPython 1.0 (1.0) on .NET 2.0.50727.112  
Copyright (c) Microsoft Corporation. All rights reserved.  

>>> from collections import deque  
import pickle  
d = deque('a')  
pickle.dumps(d, 0)  
"ccollections\ndeque\np0\n((lp1\nS'a'\np2\natp3\nRp4\n."  
d.append(d)  
pickle.dumps(d, 0)  
Process is terminated due to StackOverflowException.  

Work Item Details

Original CodePlex Issue: Issue 23697 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 27, 2009 at 11:17 PM Reported by: dfugate Updated on: Feb 22, 2013 at 2:13 AM Updated by: jdhardy Custom value: Reported internally at Microsoft. Test: NEEDED CreatedDate: 10/24/2006 NewInternalID: 409482 OldInternalID: 149171 AreaPath: IronPython\Modules

ironpythonbot commented 9 years ago

On 2009-08-19 05:36:29 UTC, unknown user commented:

Still broken in 2.6.

slide commented 8 years ago

This generates a RunTime error on CPython.