Skip to content

Python 3.11: IndexError in dis._get_name_info() during dill.dumps() with recurse=True #727

@abhijeet-dhumal

Description

@abhijeet-dhumal

When serialising functions with dill.dumps(func, recurse=True) on Python 3.11, dis.dis() fails during bytecode introspection

Root cause : Python 3.11 changed bytecode format; dis._get_name_info() accesses invalid tuple indices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions