[Python-checkins] python/dist/src/Lib/test test_capi.py,1.6,1.7

mhammond at users.sourceforge.net mhammond at users.sourceforge.net
Wed Aug 25 00:24:18 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9226/Lib/test

Modified Files:
	test_capi.py 
Log Message:
Fix for [ 1010677 ] thread Module Breaks PyGILState_Ensure(),
and a test case.
When booting a new thread, use the PyGILState API to manage the GIL.


Index: test_capi.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_capi.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- test_capi.py	24 Apr 2003 16:02:51 -0000	1.6
+++ test_capi.py	24 Aug 2004 22:24:08 -0000	1.7
@@ -43,3 +43,7 @@
 
 if have_thread_state:
     TestThreadState()
+    import threading
+    t=threading.Thread(target=TestThreadState)
+    t.start()
+



More information about the Python-checkins mailing list