Author: mattip <matti.pi...@gmail.com>
Branch: cpyext-ext
Changeset: r82363:46e8c7546570
Date: 2016-02-21 14:21 +0100
http://bitbucket.org/pypy/pypy/changeset/46e8c7546570/

Log:    fix order of operations

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -1153,8 +1153,8 @@
 
 def setup_library(space):
     "NOT_RPYTHON"
+    use_micronumpy = setup_micronumpy(space)
     export_symbols = sorted(FUNCTIONS) + sorted(SYMBOLS_C) + sorted(GLOBALS)
-    use_micronumpy = setup_micronumpy(space)
     from rpython.translator.c.database import LowLevelDatabase
     db = LowLevelDatabase()
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to