Eric Snow <ericsnowcurren...@gmail.com> added the comment:

It looks like PyThreadState.async_exc is getting set to 0x01 somewhere.  There 
isn't any code like that in 
https://github.com/python/cpython/commit/32a67246b0d1e08cd50fc3bfa58052cfeb515b2e.
  However, the struct layout of PyThreadState did change slightly in that 
commit.

The ABI is generally not stable until the first beta (and sometimes a bit after 
that).  Could it be that the wheel for one or more the dependencies was built 
against an earlier 3.11 release (with the previous PyThreadState layout)?  

If I move fields around in PyThreadState just right, I can no longer reproduce 
the problem.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46320>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to