Changeset 101939 in vbox for trunk/src/libs/xpcom18a4/python
- Timestamp:
- Nov 7, 2023 12:28:57 PM (15 months ago)
- Location:
- trunk/src/libs/xpcom18a4/python/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/src/dllmain.cpp
r101846 r101939 213 213 } 214 214 215 /* Done automatically since python 3.7 and deprecated since python 3.9. */ 216 #if PY_VERSION_HEX < 0x03090000 215 217 // Must force Python to start using thread locks, as 216 218 // we are free-threaded (maybe, I think, sometimes :-) 217 219 PyEval_InitThreads(); 220 #endif 218 221 #ifndef PYXPCOM_USE_PYGILSTATE 219 222 // Release Python lock, as first thing we do is re-get it. -
trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp
r101919 r101939 775 775 #endif 776 776 777 /* Done automatically since python 3.7 and deprecated since python 3.9. */ 778 #if PY_VERSION_HEX < 0x03090000 777 779 // Must force Python to start using thread locks 778 780 PyEval_InitThreads(); 781 #endif 779 782 780 783 // Create the module and add the functions
Note:
See TracChangeset
for help on using the changeset viewer.