Apache Mod-Python - Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > January 2006 > Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates
Jim Gallacher

2006-01-13, 9:18 pm

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 ..
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com