Skip to content

Commit 95207a0

Browse files
committed
Attempt to work around Python 3.13 GIL strictness.
1 parent d469dde commit 95207a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_python.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ static void PythonChildInitHandler(apr_pool_t *p, server_rec *s)
26432643

26442644
#if PY_VERSION_HEX < 0x03070000
26452645
PyOS_AfterFork();
2646-
#else
2646+
#elif PY_VERSION_HEX < 0x030D0000
26472647
PyOS_AfterFork_Child();
26482648
#endif
26492649

0 commit comments

Comments
 (0)