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-April/044197.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 importGuido van Rossum guido at python.org
Mon Apr 12 10:55:10 EDT 2004
> What is the rationale given for not allowing:
> 
> import .moduleY

For all other forms of import, after

  import XXX.YYY.ZZZ

then

  XXX.YYY.ZZZ

is usable in an expression.  (Very different from Java!)  But

  .moduleY

is not usable in an expression.

(This might be worth adding to the PEP.)

--Guido van Rossum (home page: http://www.python.org/~guido/)

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