[pypy-svn] r73724 - pypy/branch/cpython-extension/pypy/module/cpyext
xoraxax at codespeak.net
xoraxax at codespeak.net
Wed Apr 14 01:27:17 CEST 2010
Author: xoraxax
Date: Wed Apr 14 01:27:15 2010
New Revision: 73724
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/api.py
Log:
Fix comment.
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/api.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/api.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/api.py Wed Apr 14 01:27:15 2010
@@ -716,9 +716,8 @@
RESULT_TYPE = FT.RESULT
# copied and modified from rffi.py
- # The around-handlers are releasing the GIL in a threaded pypy.
# We need tons of care to ensure that no GC operation and no
- # exception checking occurs while the GIL is released.
+ # exception checking occurs in call_external_function.
argnames = ', '.join(['a%d' % i for i in range(len(FT.ARGS))])
source = py.code.Source("""
def call_external_function(funcptr, %(argnames)s):
More information about the Pypy-commit
mailing list