summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@math.washington.edu>2007-10-24 01:41:16 -0700
committerRobert Bradshaw <robertwb@math.washington.edu>2007-10-24 01:41:16 -0700
commitae87629a406959facf9466851db98c66c30359a8 (patch)
treec38e2934ad69e1d5fa460d4252e1a0e14dd38505 /Cython/Compiler/ModuleNode.py
parentd6c61a46751567bcd63249c9a906dfa3f8ce26ed (diff)
downloadcython-ae87629a406959facf9466851db98c66c30359a8.tar.gz
Fix builtins caching
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index 28aad9a2d..f27e37bae 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -1239,9 +1239,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("/*--- String init code ---*/")
self.generate_string_init_code(env, code)
- code.putln("/*--- Builtin init code ---*/")
- # TODO: FIXME !!
- #self.generate_builtin_init_code(env, code)
+ if Options.cache_builtins:
+ code.putln("/*--- Builtin init code ---*/")
+ self.generate_builtin_init_code(env, code)
code.putln("/*--- Global init code ---*/")
self.generate_global_init_code(env, code)