File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ What's New in Python 2.5 alpha 1?
1212Core and builtins
1313-----------------
1414
15+ - It is now safe to call PyGILState_Release() before
16+ PyEval_InitThreads() (note that if there is reason to believe there
17+ are multiple threads around you still must call PyEval_InitThreads()
18+ before using the Python API; this fix is for extension modules that
19+ have no way of knowing if Python is multi-threaded yet).
20+
1521- Typing Ctrl-C whilst raw_input() was waiting in a build with threads
1622 disabled caused a crash.
1723
Original file line number Diff line number Diff line change @@ -503,6 +503,6 @@ PyGILState_Release(PyGILState_STATE oldstate)
503503 }
504504 /* Release the lock if necessary */
505505 else if (oldstate == PyGILState_UNLOCKED )
506- PyEval_ReleaseThread ( tcur );
506+ PyEval_SaveThread ( );
507507}
508508#endif /* WITH_THREAD */
You can’t perform that action at this time.
0 commit comments