01-14-06 02:18 AM
It's a strange one. When I move site-packages/PIL to
site-packages/PIL.bak (leaving PIL.pth as is) and run the tests I get
the same output as Graham and Nicolas. I'm just going to ignore this for
the time being and go with a refactored unit test.
Jim
Graham Dumpleton wrote:
> FWIW, I use Python 2.3 on Mac OS X. Nicolas is probably using Win32
> as usual.
>
> I mention this as I wouldn't be surprised if different versions of Python
> on different platforms behaved differently when given strange module
> names for importing.
>
> Take as an example prior case where someone was using "a/b" for a
> module name. Ie., directory name, slash, and then module name. This
> wouldn't work on Mac OS X but did work on Linux. Result was that it
> allowed loading of a module in a subdirectory without need for use of
> packages. Not sure what Win32 did.
>
> Graham
>
> Jim Gallacher wrote ..
>
>
[ Post a follow-up to this message ]
|