A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048782.html below:

[Python-Dev] Re: PEP 328 - Relative Imports

[Python-Dev] Re: PEP 328 - Relative Imports [Python-Dev] Re: PEP 328 - Relative ImportsBarry Warsaw barry at python.org
Fri Sep 10 17:04:32 CEST 2004
On Fri, 2004-09-10 at 07:46, Jim Fulton wrote:

> I find explicit relative imports easier to read, as it
> reduces the noise level.
> 
> I like the fact that local imports look different from non-local ones.

Yes, +1.  The most important thing IMO is that there be an explicit way
to spell whatever the default isn't.  I was just grumbling the other day
because I had to rename a submodule foologging.py instead of the more
natural logging.py because that module suddenly wanted to start
importing the global logging package.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040910/930a82a1/attachment.pgp
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