aahz> Here's the draft PEP for imports. I'll wait a few days for aahz> comments before sending to the PEPmeister. I don't know if it's relevant to the discussion, but at various times people have asked about pushing the current global module/package namespace into a package, so instead of import sys you might use import std.sys or from std import sys to reference the sys module as delivered with Python. It might be worthwhile to consider that as an alternative or addition to this capability. Because of all the code changes it would cause, it's not likely to be considered before Python 3, but it seems to me that it might solve many common module collision problems without resorting to major changes to the semantics of the import statement. Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4