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-August/047494.html below:

[Python-Dev] Multi-line import implementation (was: 2.4a2, and @decorators)

[Python-Dev] Multi-line import implementation (was: 2.4a2, and @decorators)Aahz aahz at pythoncraft.com
Tue Aug 10 03:36:44 CEST 2004
>> My own gut feeling is that it's not important to allow parentheses on
>> "bare" (from-less) imports, since you can easily repeat the 'import'
>> keyword on a new line;
> 
> It might not be strictly necessary, but for consistency
> I think it should be alllowed.

Unless other support is forthcoming, this won't happen.

> By the way, rather than parentheses, I would prefer to
> be able to simply end the line with a comma and continue
> on to the next line:
> 
>   from Bubble import foo, spam, tomato,
>     grail, arthur, camembert

Rejected earlier on parsing grounds.  I've updated the PEP.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at lion.austin.ibm.com
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