Look like it's this line:
https://github.com/kovidgoyal/bypy/b...-freeze.h#L795 and this line
https://github.com/kovidgoyal/bypy/b..._init__.py#L35
Run code in the system Python adds more complexity than I thought before. Would you consider set the optimize level to 1? Level 2 does the same thing as level 1 except remove docstrings.