Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Josiah Carlson
Guido van Rossum <[EMAIL PROTECTED]> wrote: > > [Josiah Carlson] > > > if we could change import in such a > > > way that made standard library imports different from standard library > > > imports, we could > > [Greg Ewing] > > ...go on to prove that black is white and get > > ourselves killed

Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Guido van Rossum
[Josiah Carlson] > > if we could change import in such a > > way that made standard library imports different from standard library > > imports, we could [Greg Ewing] > ...go on to prove that black is white and get > ourselves killed by a python on the next > zebra crossing. I was hoping that Jos

Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Greg Ewing
Josiah Carlson wrote: if we could change import in such a way that made standard library imports different from standard library imports, we could ...go on to prove that black is white and get ourselves killed by a python on the next zebra crossing. -- Greg Ewing, Computer Science Dept, +--

Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Josiah Carlson
Guido van Rossum <[EMAIL PROTECTED]> wrote: > Sure. There are lots of FAQs whose answer is not "Python will have to change". And I'm not saying Python has to change either, hence the initial query and planned PEP. Boiling it down; if we could change import in such a way that made standard librar

Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Guido van Rossum
> While I personally don't tend to use names previously existing in > the standard library, seemingly a large number of people do, hence the > not-so-rare threads on comp.lang.python which ask about such things. Sure. There are lots of FAQs whose answer is not "Python will have to change". > > An

Re: [Python-Dev] Comment regarding PEP 328

2005-02-24 Thread Josiah Carlson
Guido van Rossum <[EMAIL PROTECTED]> wrote: > > In a recent discussion in a SF patch, I noticed that PEP 328* only seems > > to support relative imports within packages, while bare import > > statements use the entirety of sys.path, not solving the shadowing of > > standard library module names. >

Re: [Python-Dev] Comment regarding PEP 328

2005-02-23 Thread Guido van Rossum
> In a recent discussion in a SF patch, I noticed that PEP 328* only seems > to support relative imports within packages, while bare import > statements use the entirety of sys.path, not solving the shadowing of > standard library module names. Hm. I'm not convinced that there is a *problem* with

[Python-Dev] Comment regarding PEP 328

2005-02-23 Thread Josiah Carlson
In a recent discussion in a SF patch, I noticed that PEP 328* only seems to support relative imports within packages, while bare import statements use the entirety of sys.path, not solving the shadowing of standard library module names. I have certainly forgotten bits of discussion from last spri