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/2003-December/041100.html below:

[Python-Dev] Re: Relative import

[Python-Dev] Re: Relative import [Python-Dev] Re: Relative importAnthony Baxter anthony at interlink.com.au
Tue Dec 16 22:27:52 EST 2003
>>> "Delaney, Timothy C (Timothy)" wrote
> > Is funny punctuation really the right way to spell an important 
> > distinction like this?
> 
> That's what I've been wondering. I really don't like the proposal to use
> . in various places to signify relative and absolute imports. It seems 
> non-obvious both in understandability and readability.

I'd have to agree. In the same way that backticks are painful to deal 
with (they're small and non-obvious), the difference between 

  from foo import bar

and 

  from .foo import bar

is too small to be pleasant. I also have to wonder about the use 
case for .. and ... - looking through my code, I can't see anything
where using ... rather than a fully qualified name would make the 
code any more readable.

-- 
Anthony Baxter     <anthony at interlink.com.au>   
It's never too late to have a happy childhood.


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