You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This partially reverts some of the work done in
1881628.
This removes some code reordering done in the above commit to work
around the fact that, starting in 3.12, `PyImport_AppendInittab()` could
no longer be called after `Py_Initialize()`.
This patch reverts this reordering, and takes a different approach to
add the `uwsgi` python module to the plugin.
This is mainly done to support the https://pypi.org/project/pyuwsgi/ use
case where the uwsgi server itself is a python module, and hence the
interpreter will always be initialized before uwsgi even starts.
It's also a bit cleaner, there's less code getting rearranged to support
3.12.
0 commit comments