Author: Armin Rigo <[email protected]>
Branch:
Changeset: r3008:86653ca1a0cf
Date: 2017-09-14 22:42 +0200
http://bitbucket.org/cffi/cffi/changeset/86653ca1a0cf/
Log: Update the comment.
diff --git a/c/call_python.c b/c/call_python.c
--- a/c/call_python.c
+++ b/c/call_python.c
@@ -234,9 +234,10 @@
save_errno();
/* We need the infotuple here. We could always go through
- interp->modules['..'][externpy], but to avoid the extra dict
+ _update_cache_to_call_python(), but to avoid the extra dict
lookups, we cache in (reserved1, reserved2) the last seen pair
- (interp->modules, infotuple).
+ (interp->modules, infotuple). The first item in this tuple is
+ a random PyObject that identifies the subinterpreter.
*/
if (externpy->reserved1 == NULL) {
/* Not initialized! We didn't call @ffi.def_extern() on this
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit