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

@@ -11,8 +11,7 @@ Destructive Functions for "collapsing" Sequences into single levels
[1, 2, 3, 4, 5, 6] # note is the same root list
'''
#import copy, types, sys
import types, sys
import copy, types, sys
from types import ListType, TupleType # this now only supports the obsolete stuff...
def hyperCollapse( inlist, allowedmap, type=type, list=list, itype=types.InstanceType, maxint= sys.maxint):