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/043993.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 importDavid Abrahams dave at boost-consulting.com
Sat Apr 3 12:02:05 EST 2004
Guido van Rossum <guido at python.org> writes:

>> >      from ..Y import X
>> 
>> Wouldn't that have to be
>> 
>>        from ...Y import X
>>               ^-------------separator, as in A.B
>
> NO, NO, NO!  Each dot is one uplevel.  Exactly like Mac OS 9 paths do
> with ':'.  (Read macpath.py.)

That's a fine convention; I'm familiar with MacOS paths.  
The fact that David Goodger and I were both confused might indicate
that the proposed syntax might not be as intuitive as you'd like, but
I don't think it'll take long to get used to.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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