Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-22005: Document the reality of pickle compatibility.#11054

Merged
gpshead merged 1 commit into
python:masterpython/cpython:masterfrom
gpshead:pickle-docs-reality-checkgpshead/cpython:pickle-docs-reality-checkCopy head branch name to clipboard
Dec 9, 2018
Merged

bpo-22005: Document the reality of pickle compatibility.#11054
gpshead merged 1 commit into
python:masterpython/cpython:masterfrom
gpshead:pickle-docs-reality-checkgpshead/cpython:pickle-docs-reality-checkCopy head branch name to clipboard

Conversation

@gpshead

@gpshead gpshead commented Dec 9, 2018

Copy link
Copy Markdown
Member

People still seem surprised that pickle can't magically send bytes/str/unicode values back and forth from Python 2 and Python 3 processes without a lot of hand holding despite the underlying fundamental types of the language changing. This should clarify that there is no such free lunch.

It has always has been, impossible to guarantee such compatibility. That the docs were not updated to reflect this in 3.0 was an oversight.

https://bugs.python.org/issue22005

@gpshead gpshead added docs Documentation in the Doc dir skip news needs backport to 3.7 labels Dec 9, 2018
@gpshead gpshead merged commit e328753 into python:master Dec 9, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@gpshead gpshead deleted the pickle-docs-reality-check branch December 9, 2018 19:43
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 9, 2018
)

(cherry picked from commit e328753)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-bot

Copy link
Copy Markdown

GH-11055 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Dec 9, 2018
(cherry picked from commit e328753)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.