pickle.py is limited by python's call stack

Open
#47,369 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with graphtest.py, the example code linked in the issue, then review the historical pickle.patch files and the pickle.py implementation they target. Reproduce the call-stack limitation and determine the intended behavior from those examples. Done means the reported pickle failure no longer depends on Python's call-stack depth, with regression coverage for the triggering graph.

Written by the indexing model from the issue text.

Description

3.7 (EOL) stdlib type-bug
BPO 3119
Nosy @jcea, @pitrou, @avassalotti, @serhiy-storchaka, @matrixise
Files
  • pickle.patch: svn diff output against the python trunk.
  • pickle2.patch: svn diff output against the python trunk, take two.
  • pickle3.patch
  • pickle4.patch
  • graphtest.py: Example code triggering the issue
  • 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 = None
    closed_at = None
    created_at = <Date 2008-06-16.04:06:24.505>
    labels = ['3.7', 'type-bug', 'library']
    title = "pickle.py is limited by python's call stack"
    updated_at = <Date 2016-10-04.20:46:59.117>
    user = 'https://bugs.python.org/habnabit'
    

    bugs.python.org fields:

    activity = <Date 2016-10-04.20:46:59.117>
    actor = 'habnabit'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2008-06-16.04:06:24.505>
    creator = 'habnabit'
    dependencies = []
    files = ['10638', '11168', '13654', '18073', '43897']
    hgrepos = []
    issue_num = 3119
    keywords = ['patch', 'needs review']
    message_count = 17.0
    messages = ['68262', '69007', '69118', '69126', '69620', '71510', '85761', '85786', '101451', '101452', '110642', '110834', '268119', '270752', '271394', '278073', '278088']
    nosy_count = 9.0
    nosy_names = ['jafo', 'jcea', 'pitrou', 'alexandre.vassalotti', 'schmir', 'tleeuwenburg@gmail.com', 'serhiy.storchaka', 'matrixise', 'gavento']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3119'
    versions = ['Python 3.7']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.