[Python-checkins] CVS: python/dist/src/Include ceval.h,2.39,2.40
Skip Montanaro
python-dev@python.org
Fri, 15 Sep 2000 11:19:32 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8468
Modified Files:
ceval.h
Log Message:
RET_SAVE references should be Py_BLOCK_THREADS references
Index: ceval.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/ceval.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -r2.39 -r2.40
*** ceval.h 2000/09/01 23:29:26 2.39
--- ceval.h 2000/09/15 18:19:27 2.40
***************
*** 53,57 ****
{}-surrounded block.
To leave the block in the middle (e.g., with return), you must insert
! a line containing RET_SAVE before the return, e.g.
if (...premature_exit...) {
--- 53,57 ----
{}-surrounded block.
To leave the block in the middle (e.g., with return), you must insert
! a line containing Py_BLOCK_THREADS before the return, e.g.
if (...premature_exit...) {
***************
*** 71,75 ****
For convenience, that the value of 'errno' is restored across
! Py_END_ALLOW_THREADS and RET_SAVE.
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND
--- 71,75 ----
For convenience, that the value of 'errno' is restored across
! Py_END_ALLOW_THREADS and Py_BLOCK_THREADS.
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND