[mod_python] PSP crash on windows 2000 apache 2.0 mod python 3.1.3 and python 2.3

ModPython-NoReply modpy-noreply at mailinator.com
Tue Sep 28 15:45:43 EDT 2004


> Is there anything stopping me from manually importing the psp module 
> and
> running psp.parsestring on a psp source code that I have manually read 
> from
> the filesystem?
>
> For some reason with windows apache 2.0 python 2.3.4 and mod_python 
> 3.1.3 I
> get apache to throw a crash...
>
>
> is this expected?

for example if I modified the "handler" function to


def handler(req):

    req.content_type = "text/html"
    code = parsestring("HELLO WORLD")
    exec code in {"req" : req}
    
    return apache.OK


It'll crash apache on the 1st or 2nd load of the page.

any help would be great

thanks

slim


More information about the Mod_python mailing list