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

Commit bed2233

Browse files
author
Anselm Kruis
committed
Stackless issue #248: Documentation update
Mention, that module "stackless" must be imported, to enable the extended pickling capabilities. (cherry picked from commit c5cabba)
1 parent 032a566 commit bed2233

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Doc/library/stackless/pickling.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ Pickling other objects
132132
======================
133133

134134
In order to be able to pickle tasklets |SLP| needs to be able to pickle
135-
several other objects, which can't be pickled by |CPY|. |SLP|
135+
several other objects, which can't be pickled by |CPY|. If the module
136+
:mod:`stackless` gets imported for the first time, |SLP|
136137
uses :func:`copyreg.pickle` to register “reduction” functions for the following
137138
types:
138139
:data:`~types.AsyncGeneratorType`,

Stackless/changelog.txt

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

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

12+
- https://github.com/stackless-dev/stackless/issues/248
13+
Documentation update: Mention, that module "stackless" must be imported, to
14+
enable the extended pickling capabilities.
15+
1216
- https://github.com/stackless-dev/stackless/issues/239
1317
Add support for PEP 567 context variables to tasklets.
1418
Each tasklet now has a contextvars.Context object, that becomes active during

0 commit comments

Comments
 (0)