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

@ -3,12 +3,12 @@ Package generated from /Applications/Internet Explorer.app
"""
import aetools
Error = aetools.Error
import Standard_Suite
import URL_Suite
import Netscape_Suite
import Microsoft_Internet_Explorer
import Web_Browser_Suite
import Required_Suite
from . import Standard_Suite
from . import URL_Suite
from . import Netscape_Suite
from . import Microsoft_Internet_Explorer
from . import Web_Browser_Suite
from . import Required_Suite
_code_to_module = {
@ -31,12 +31,12 @@ _code_to_fullname = {
'reqd' : ('Explorer.Required_Suite', 'Required_Suite'),
}
from Standard_Suite import *
from URL_Suite import *
from Netscape_Suite import *
from Microsoft_Internet_Explorer import *
from Web_Browser_Suite import *
from Required_Suite import *
from Explorer.Standard_Suite import *
from Explorer.URL_Suite import *
from Explorer.Netscape_Suite import *
from Explorer.Microsoft_Internet_Explorer import *
from Explorer.Web_Browser_Suite import *
from Explorer.Required_Suite import *
def getbaseclasses(v):
if not getattr(v, '_propdict', None):