[Python-checkins] python/nondist/peps pep-0311.txt,1.5,1.6

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Oct 10 00:58:26 CEST 2004

Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20332

Modified Files:
Log Message:
Some function renamings were overlooked in the PEP; repair them.

Index: pep-0311.txt
RCS file: /cvsroot/python/python/nondist/peps/pep-0311.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pep-0311.txt	21 Apr 2003 15:20:13 -0000	1.5
+++ pep-0311.txt	9 Oct 2004 22:58:24 -0000	1.6
@@ -184,14 +184,14 @@
     - remember the current state of the lock (owned/not owned)
     - If the current state does not own the GIL, acquire it.
     - Increment a counter for how many calls to
-      PyAutoThreadState_Ensure have been made on the current thread.
+      PyGILState_Ensure have been made on the current thread.
     - return
-    The general operation of PyAutoThreadState_Release() will be:
+    The general operation of PyGILState_Release() will be:
     - assert our thread currently holds the lock.
     - If old state indicates lock was previously unlocked, release GIL.
-    - Decrement the PyAutoThreadState_Ensure counter for the thread.
+    - Decrement the PyGILState_Ensure counter for the thread.
     - If counter == 0:
       - release and delete the PyThreadState.
       - forget the ThreadState as being owned by the thread.

More information about the Python-checkins mailing list