Fix test_scriptpackage with pure will power.

I really don't know why I bother; these are all generated files.
But I don't recall how to regenerate them nor how to fix the generator.

The hardest part was fixing two mutual recursive imports;
somehow changing "import foo" into "from . import foo" where
foo and bar import each other AND both are imported from __init__.py
caused things to break.  Bah.
This commit is contained in:
Guido van Rossum 2006-04-21 15:44:20 +00:00
parent c350d1a110
commit 6da48561cb
21 changed files with 139 additions and 128 deletions

View file

@ -454,7 +454,7 @@ single_class_browser._privpropdict = {
}
single_class_browser._privelemdict = {
}
import Standard_Suite
from . import Standard_Suite
single_class_hierarchy._superclassnames = ['document']
single_class_hierarchy._privpropdict = {
'inherits' : _Prop_inherits,

View file

@ -3,10 +3,10 @@ Package generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarri
"""
import aetools
Error = aetools.Error
import CodeWarrior_suite
import Standard_Suite
import Metrowerks_Shell_Suite
import Required
from . import CodeWarrior_suite
from . import Standard_Suite
from . import Metrowerks_Shell_Suite
from . import Required
_code_to_module = {
@ -25,10 +25,10 @@ _code_to_fullname = {
'reqd' : ('CodeWarrior.Required', 'Required'),
}
from CodeWarrior_suite import *
from Standard_Suite import *
from Metrowerks_Shell_Suite import *
from Required import *
from CodeWarrior.CodeWarrior_suite import *
from CodeWarrior.Standard_Suite import *
from CodeWarrior.Metrowerks_Shell_Suite import *
from CodeWarrior.Required import *
def getbaseclasses(v):
if not getattr(v, '_propdict', None):