]> granicus.if.org Git - python/commit
Don't use the module object setattr when importing submodules. Instead,
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 16 Jun 2003 21:03:07 +0000 (21:03 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 16 Jun 2003 21:03:07 +0000 (21:03 +0000)
commit00b0966f20e5d47291f2440e40d551525c1510a5
tree2b2113a3fa163e113188190491ddeeb06e0bed8a
parente0c3112ae7cda92ecc7180fd6a391999f66f5b64
Don't use the module object setattr when importing submodules.  Instead,
operate on the module dictionary directly.  This prevents spurious
depreciation warnings from being raised if a submodule name shadows
a builtin name.
Python/import.c