Skip to content

3.1 cannot unpickle 2.7-created pickle #49430

@pitrou

Description

@pitrou
BPO 5180
Nosy @malemburg, @mdickinson, @abalkin, @pitrou, @avassalotti
Superseder
  • bpo-9267: Update pickle opcode documentation in pickletools for 3.x
  • Files
  • 27.bench
  • pickle-bug.py: run with python2
  • unpickle-bug.py: run with python3
  • issue5180-pickle.diff
  • unpickle-bug-2.py
  • issue5180.diff: _pickle.c fixes with tests
  • issue5180a.diff: Patch for py3k branch, revision 82911.
  • issue5180b.diff
  • 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/abalkin'
    closed_at = <Date 2010-07-17.23:02:54.180>
    created_at = <Date 2009-02-07.22:28:53.400>
    labels = ['extension-modules', 'type-bug']
    title = '3.1 cannot unpickle 2.7-created pickle'
    updated_at = <Date 2010-07-17.23:02:54.179>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2010-07-17.23:02:54.179>
    actor = 'belopolsky'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2010-07-17.23:02:54.180>
    closer = 'belopolsky'
    components = ['Extension Modules']
    creation = <Date 2009-02-07.22:28:53.400>
    creator = 'pitrou'
    dependencies = []
    files = ['12973', '17784', '17785', '17786', '17787', '17792', '18017', '18037']
    hgrepos = []
    issue_num = 5180
    keywords = ['patch']
    message_count = 25.0
    messages = ['81351', '81352', '108768', '108769', '108771', '108796', '108799', '108812', '108814', '108815', '108817', '108819', '108821', '108846', '108866', '108879', '108880', '108885', '108897', '110383', '110536', '110541', '110559', '110592', '110613']
    nosy_count = 5.0
    nosy_names = ['lemburg', 'mark.dickinson', 'belopolsky', 'pitrou', 'alexandre.vassalotti']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '9267'
    type = 'behavior'
    url = 'https://bugs.python.org/issue5180'
    versions = ['Python 3.1', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions