projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6485cee
)
blacklist distutils sysconfig module in pyximport (needs to reside inside CPython)
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Apr 2011 17:08:55 +0000
(19:08 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Apr 2011 17:08:55 +0000
(19:08 +0200)
pyximport/pyximport.py
patch
|
blob
|
history
diff --git
a/pyximport/pyximport.py
b/pyximport/pyximport.py
index 6cd072ee4171b9d7a7b521accd284399b42ff521..05d6cda089e87264108f8ff2f585a74e6525da6c 100644
(file)
--- a/
pyximport/pyximport.py
+++ b/
pyximport/pyximport.py
@@
-261,7
+261,8
@@
class PyImporter(PyxImporter):
self.super = super(PyImporter, self)
self.super.__init__(extension='.py', pyxbuild_dir=pyxbuild_dir)
self.uncompilable_modules = {}
- self.blocked_modules = ['Cython', 'distutils.extension']
+ self.blocked_modules = ['Cython', 'distutils.extension',
+ 'distutils.sysconfig']
def find_module(self, fullname, package_path=None):
if fullname in sys.modules: