A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044142.html below:

[Python-Dev] Re: PEP 328 -- relative and multi-line import

[Python-Dev] Re: PEP 328 -- relative and multi-line import [Python-Dev] Re: PEP 328 -- relative and multi-line importAahz aahz at pythoncraft.com
Tue Apr 6 22:28:02 EDT 2004
On Tue, Apr 06, 2004, Greg Ewing wrote:
>
> Would it be unreasonable to define "." as meaning the current
> *package*, rather than the current *module* -- i.e. the package itself
> if the importer is a package, and the containing package if it's a
> plain module?

Not unreasonable, but I think it complicates the explanation.  I'm
basically -0 on having "." in __init__.py refer to the current package
instead of the parent; we'll see what Guido says.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?

More information about the Python-Dev mailing list

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