Guido van Rossum <guido at python.org> writes: >> Why does it have to be fixed in an incompatible way? > > Because in the current situation the meaning of an import is > ambiguous. What exactly is ambiguous about it? There are clear rules how the lookup is performed and determining whether the import refers to another module in the same package or a global module is just a simple directory listing in most cases. The only real problem with the current scheme is that sibling modules can shadow global ones. While that should be fixed it hardly justifies an incompatible change, as it doesn't happen very often, and it would be easy to fix without breaking compatibility. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://sketch.sourceforge.net/ Thuban http://thuban.intevation.org/
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