Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates err
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates err




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Commented: (MODPYTHON-98) wrong handler supplied to req.add_handler()generates err  
Graham Dumpleton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:35 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register