Skip to content

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Dec 9, 2018

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
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 <[email protected]>
@bedevere-bot
Copy link

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 <[email protected]>
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