-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
gh-53189: Document peculiarities of InteractiveConsole in relation to pickle #123069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-53189: Document peculiarities of InteractiveConsole in relation to pickle #123069
Conversation
Note that functions and classes objects created under an | ||
:class:`!InteractiveInterpreter` instance will belong to the namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"created under an II instance" seems awkward, but I have not suggestion yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was based on the patch by @mjdorma: https://bugs.python.org/file26917/issue8943.diff.
Co-authored-by: Terry Jan Reedy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, this is an improvement.
Thanks @serhiy-storchaka for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ion to pickle (pythonGH-123069) (cherry picked from commit a31bbc9) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Terry Jan Reedy <[email protected]>
…ion to pickle (pythonGH-123069) (cherry picked from commit a31bbc9) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Terry Jan Reedy <[email protected]>
GH-134328 is a backport of this pull request to the 3.14 branch. |
GH-134329 is a backport of this pull request to the 3.13 branch. |
…tion to pickle (GH-123069) (GH-134328) gh-53189: Document peculiarities of InteractiveConsole in relation to pickle (GH-123069) (cherry picked from commit a31bbc9) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Terry Jan Reedy <[email protected]>
…tion to pickle (GH-123069) (GH-134329) gh-53189: Document peculiarities of InteractiveConsole in relation to pickle (GH-123069) (cherry picked from commit a31bbc9) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Terry Jan Reedy <[email protected]>
…ion to pickle (pythonGH-123069) Co-authored-by: Terry Jan Reedy <[email protected]>
…ion to pickle (pythonGH-123069) Co-authored-by: Terry Jan Reedy <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--123069.org.readthedocs.build/