Removed references to modules that do not exist. The python interface is

broken, but it should give 0 errors when building.

Michel
This commit is contained in:
2003-01-06 17:27:43 +00:00
parent fa45a02295
commit c95d631b83
27 changed files with 46 additions and 41 deletions

View File

@@ -2,7 +2,8 @@
# Wed Oct 31 16:18:35 CET 2001
'''Prototype2 -- VRML 97 sceneGraph/Node/Script/ROUTE/IS implementations'''
import copy, types # extern
#import copy, types # extern
import types # extern
import strop as string # builtin
from utils import typeclasses, err, namespace # XXX
## TODO: namespace must go
@@ -15,7 +16,7 @@ class baseProto:
passed arguments for the linearisation object
see lineariser4.Lineariser
'''
import lineariser4
# import lineariser4
lineariser = apply( lineariser4.Lineariser, (), namedargs )
return apply( lineariser.linear, ( self, ), namedargs )

View File

@@ -11,7 +11,8 @@ 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 copy, types, sys
import 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):

View File

@@ -64,7 +64,8 @@ will likely want to do: from mcf.utils import extpkl, copy_extend
98.03.15 -- Fixed bug in items, values, etceteras with module-type
base objects.
'''
import copy, types, string
#import copy, types, string
import types, string
from mcf.utils import hierobj

View File

@@ -36,7 +36,7 @@ def regnumpy():
if globals().has_key('Numeric'):
return 1
try:
import Numeric
# import Numeric
SequenceTypes.append( Numeric.ArrayType )
MutableTypes.append( Numeric.ArrayType )
MutableSequenceTypes.append( Numeric.ArrayType )
@@ -47,4 +47,4 @@ def regnumpy():
# for now, I'm going to always register these, if the module becomes part of the base distribution
# it might be better to leave it out so numpy isn't always getting loaded...
regarray()
regnumpy()
regnumpy()