summaryrefslogtreecommitdiff
path: root/Cython/Compiler/MemoryView.py
diff options
context:
space:
mode:
authorMark Florisson <markflorisson88@gmail.com>2011-10-09 11:11:30 +0100
committerMark Florisson <markflorisson88@gmail.com>2011-10-13 12:12:06 +0100
commite023f0e3503400ec42b2cb362a7373b5c7345909 (patch)
treec1b354403084928e84e0599db24461ffcfe144b6 /Cython/Compiler/MemoryView.py
parent602b8cff3617490c75d4791d25b1b007e0e6b125 (diff)
downloadcython-e023f0e3503400ec42b2cb362a7373b5c7345909.tar.gz
Defer loading cython scope until necessary
Diffstat (limited to 'Cython/Compiler/MemoryView.py')
-rw-r--r--Cython/Compiler/MemoryView.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Compiler/MemoryView.py b/Cython/Compiler/MemoryView.py
index 23bac975c..3061ca425 100644
--- a/Cython/Compiler/MemoryView.py
+++ b/Cython/Compiler/MemoryView.py
@@ -686,6 +686,7 @@ def get_axes_specs(env, axes):
'''
cythonscope = env.global_scope().context.cython_scope
+ cythonscope.load_cythonscope()
viewscope = cythonscope.viewscope
access_specs = tuple([viewscope.lookup(name)