01-14-06 02:18 AM
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 ..[vbcol=seagreen]
> Ok, this is weird. I've run the tests on a couple of my qemu images and
> I get the same output as Nicolas and Graham in the error log, but a
> different output for my development machine. I think I'll rewrite the
> test to just check the response from the request rather than rooting
> around in the error_log. The point of the test is to make sure that an
> exception is raised when req.add_handler("PythonHandler", "") is
> attempted, so there a couple of different ways to go.
>
> I'll make the change and then roll the new beta tarball.
>
> Jim
>
>
> Nicolas Lehuen wrote:
> ''
> 'tests'
> it
> ''
> :
> :
> :
> :
> ''
[ Post a follow-up to this message ]
|