Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 18a3e59

Browse files
author
Anselm Kruis
committed
Issue #127: Fix pickling and copying of various types. Fix pickling tests.
This change is based on f5f98595c6cc63b from 2.7-slp, but it is heavily modified for Python 3. - Pickle 'callable-iterator' objects correctly. Previously the unpickled object had the type '_stackless._wrap.callable-iterator'. - Fix pickling of 'method-wrapper' objects. Previously pickling them caused a SystemError exception. - Fix copy.copy() for 'callable-iterator', 'method', 'dict_keys', 'dict_values' and 'dict_items' objects. Previously the copied object had the type '_stackless._wrap....'. - Fix Stackless pickling tests. The method StacklessTestCase.dumps() didn't pass the pickle protocol to the pickler. - Remove dead code in prickelpit.c. The code was used in older Stackless versions.
1 parent afa7916 commit 18a3e59

File tree

4 files changed

+126
-568
lines changed

4 files changed

+126
-568
lines changed

Stackless/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ What's New in Stackless 3.X.X?
99

1010
*Release date: 20XX-XX-XX*
1111

12+
- https://bitbucket.org/stackless-dev/stackless/issues/127
13+
Fix pickling of 'callable-iterator' and 'method-wrapper' objects.
14+
Fix copy.copy() for 'callable-iterator', 'method', 'dict_keys', 'dict_values'
15+
and 'dict_items' objects.
16+
1217
- https://bitbucket.org/stackless-dev/stackless/issues/126
1318
Load the module stackless early in all C-Python tests. This ensures a defined
1419
behaviour of the tests even, if the execution order gets randomised.

0 commit comments

Comments
 (0)