Revert to the FUTURE_PYTHON_API, this means:

- switching the define on in buildsystems (NaN, auto and msvc are done)
- again import _Blender, which is the C module, from the Python modules
This commit is contained in:
2003-02-06 03:30:25 +00:00
parent 0feac451ac
commit 6b65e39a44
29 changed files with 44 additions and 40 deletions

View File

@@ -330,9 +330,9 @@ class ModuleFinder:
return m
def find_module(self, name, path):
# if name in self.excludes:
# self.msgout(3, "find_module -> Excluded")
# raise ImportError, name
if name in self.excludes:
self.msgout(3, "find_module -> Excluded")
raise ImportError, name
if path is None:
if name in sys.builtin_module_names: