[pypy-commit] pypy improve-gc-tracing-hooks: add comment

arigo noreply at buildbot.pypy.org
Tue Oct 21 15:22:19 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: improve-gc-tracing-hooks
Changeset: r74038:3d5e2e9ec120
Date: 2014-10-21 15:21 +0200
http://bitbucket.org/pypy/pypy/changeset/3d5e2e9ec120/

Log:	add comment

diff --git a/rpython/rlib/_stacklet_asmgcc.py b/rpython/rlib/_stacklet_asmgcc.py
--- a/rpython/rlib/_stacklet_asmgcc.py
+++ b/rpython/rlib/_stacklet_asmgcc.py
@@ -13,6 +13,10 @@
 _stackletrootwalker = None
 
 def get_stackletrootwalker():
+    # XXX this is too complicated now; we don't need a StackletRootWalker
+    # instance to store global state.  We could rewrite it all in one big
+    # function.  We don't care enough for now.
+
     # lazily called, to make the following imports lazy
     global _stackletrootwalker
     if _stackletrootwalker is not None:


More information about the pypy-commit mailing list