python / python/cpython

Code objects can contain unmarshallable objects

Open
#89,290 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BPO 45127
Nosy @encukou, @shihai1991, @FFY00, @DiddiLeija
Files
  • reproducer_replace.py
  • reproducer_compileall.py
  • 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 2021-09-07.13:57:18.092>
    labels = []
    title = 'Code objects can contain unmarshallable objects'
    updated_at = <Date 2021-09-07.17:23:45.434>
    user = 'https://github.com/encukou'
    

    bugs.python.org fields:

    activity = <Date 2021-09-07.17:23:45.434>
    actor = 'shihai1991'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-09-07.13:57:18.092>
    creator = 'petr.viktorin'
    dependencies = []
    files = ['50268', '50269']
    hgrepos = []
    issue_num = 45127
    keywords = []
    message_count = 3.0
    messages = ['401277', '401278', '401281']
    nosy_count = 4.0
    nosy_names = ['petr.viktorin', 'shihai1991', 'FFY00', 'DiddiLeija']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45127'
    versions = []
    

    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.

    Research direction

    Start by running reproducer_replace.py and reproducer_compileall.py, then trace how the affected code objects are created and serialized. Confirm the failure involving unmarshallable objects and identify the relevant CPython tests or implementation entry points; done means the reproducers no longer expose the inconsistency without breaking valid code-object behavior.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    compilers
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.