Skip to content

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 16, 2023

In codeobject.c:

    int entry_point = 0;
    while (entry_point < Py_SIZE(co) &&
        _PyCode_CODE(co)[entry_point].op.code != RESUME) {
        entry_point++;
    }
    co->_co_firsttraceable = entry_point;

This is different from deepfreeze when there is no RESUME in the code.

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

Successfully merging this pull request may close these issues.

2 participants