Skip to content
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

Document that 2.6 pickles of strings turn into pickles of unicode in 3.0 #46577

Closed
brettcannon opened this issue Mar 17, 2008 · 2 comments
Closed
Assignees
Labels
docs Documentation in the Doc dir release-blocker

Comments

@brettcannon
Copy link
Member

BPO 2324
Nosy @gvanrossum, @brettcannon, @birkenfeld
Superseder
  • bpo-2307: Decide what to do with bytes/str when transferring pickles between 2.6 and 3.0
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/birkenfeld'
    closed_at = <Date 2008-03-17.17:11:28.266>
    created_at = <Date 2008-03-17.16:36:41.724>
    labels = ['release-blocker', 'invalid', 'docs']
    title = 'Document that 2.6 pickles of strings turn into pickles of unicode in 3.0'
    updated_at = <Date 2008-03-17.17:11:28.261>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2008-03-17.17:11:28.261>
    actor = 'gvanrossum'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-03-17.17:11:28.266>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2008-03-17.16:36:41.724>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 2324
    keywords = []
    message_count = 2.0
    messages = ['63669', '63677']
    nosy_count = 3.0
    nosy_names = ['gvanrossum', 'brett.cannon', 'georg.brandl']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = '2307'
    type = None
    url = 'https://bugs.python.org/issue2324'
    versions = []

    @brettcannon
    Copy link
    Member Author

    It turns out that unpickling a string from 2.6 leads to a Unicode string
    in 3.0. That might fail since the encoding was never specified. This
    should be documented probably in both 2.6 and 3.0.

    @brettcannon brettcannon added the docs Documentation in the Doc dir label Mar 17, 2008
    @gvanrossum
    Copy link
    Member

    The issue is different; there is already a bug open for this (bug 2307).

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    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 release-blocker
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants