Re: Insane import behaviour and regrtest.py: heeelp

2005-02-06 Thread John J. Lee
Tim Peters <[EMAIL PROTECTED]> writes: > [John J. Lee] > > I'm still puzzled, though. Reading the -vv output, I see that when [...] > > Lib[0]$ pwd > > /hda/usr/local/buf/python/python/dist/src/Lib > > That doesn't look to be the same thing as the > > /usr/local/src/python/python/dist/src/L

Re: Insane import behaviour and regrtest.py: heeelp

2005-02-06 Thread Tim Peters
[John J. Lee] > I'm still puzzled, though. Reading the -vv output, I see that when > importing test_cookielib (which is currently the only line in my > regrtest.py -f file), Python doesn't appear to look in Lib/test to > find module "test.test_cookielib" (the actual string passed by > regrtest.py

Re: Insane import behaviour and regrtest.py: heeelp

2005-02-06 Thread John J. Lee
Tim Peters <[EMAIL PROTECTED]> writes: > [John J. Lee] > > ... > > I tried it, and I get the same results as before (the test modules from my > > installed copy of Python are picked up instead of the local copies in > > my CVS checkout's Lib/test, apparently entirely contrary to sys.path). > > Tr

Re: Insane import behaviour and regrtest.py: heeelp

2005-02-06 Thread Tim Peters
[John J. Lee] > ... > I tried it, and I get the same results as before (the test modules from my > installed copy of Python are picked up instead of the local copies in > my CVS checkout's Lib/test, apparently entirely contrary to sys.path). Try running Python with -vv (that's two letter "v", not

Re: Insane import behaviour and regrtest.py: heeelp

2005-02-06 Thread John J. Lee
Nick Coghlan <[EMAIL PROTECTED]> writes: > John J. Lee wrote: > > The only change I made to regrtest other than the print statements was > > to add Lib to sys.path, so I pick up modules from CVS instead of the > > installed 2.4 versions (yeah, I know I should build and install a > > python2.5 exec

Re: Insane import behaviour and regrtest.py: heeelp

2005-02-05 Thread Nick Coghlan
John J. Lee wrote: The only change I made to regrtest other than the print statements was to add Lib to sys.path, so I pick up modules from CVS instead of the installed 2.4 versions (yeah, I know I should build and install a python2.5 executable from CVS, but I don't see how that's relevant here).

Insane import behaviour and regrtest.py: heeelp

2005-02-05 Thread John J. Lee
I'm tearing my hair out at what seems like weird import behaviour I'm getting from Python's stdlib test script, regrtest.py (not for the first time: seem to have forgotten the resolution from last time, and the time before, and the time before that, when this damn test script of Python's had me scr