Skip to content

Make code type properly managed across byte code versions to interpreter versions #8

Description

@gsb-eng

CodeType is different across versions in python, python2 encodes bytes as a string type, but in Python3 it's bytes. Also, in python2 there won't be a kwonlyargcount in python2.

These kind of mismatches are causing issues wile disassembling the code objects.

Solution for this is, creating a custom CodeType which can accommodate any cross versional changes without complaints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions