Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created March 28, 2023 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/4764646f56ea5914d1a11ef5a98eefc0 to your computer and use it in GitHub Desktop.
Save exarkun/4764646f56ea5914d1a11ef5a98eefc0 to your computer and use it in GitHub Desktop.
Error in cpyext, CPython compatibility layer:
PyThreadState_Swap() cannot be used to switch to another
different PyThreadState right now
RPython traceback:
File "pypy_module_cpyext_2.c", line 26465, in unwrapper__StdObjSpaceConst_PyThreadStatePtr_sta
File "pypy_module_cpyext_1.c", line 65525, in PyThreadState_Swap
Fatal RPython error: AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment