![Apache Apache](http://a.fsdn.com/sd/topics/apache_64.png)
![Software Software](http://a.fsdn.com/sd/topics/software_64.png)
mod_snake Is Dead 18
jayed_99 writes "mod_snake has been abandoned by its creater Jon Travis. He cites a lack of 'time or motivation.' Like mod_python, it embedds the Python interpreter into Apache. Unlike mod_python, it includes support for HTML-embedded python (a very nifty feature). It's still available here.
Wouldn't you know this would happen two days after I decide to switch from mod_python to mod_snake?"
Wtf (Score:1)
Re:Wtf (Score:3, Insightful)
I think anyone willing to work on this project, would better spend their resources on mod_python instead.
Re:Wtf (Score:4, Informative)
is BSDish.
bye bye (Score:3, Informative)
I ended up going over to mod_python.
Shame because one of the premises of mod_snake was the concept of nested python interpreters. Like Apache itself mod_snake had one thread and then passed the request on to another python interpreter running as a sub thread so that you could maintain state between requests by using the same interpreter.
It sounded interesting, but I never got the chance to find out.
mod_python has the annoying attribute of requiring the whole python installation to be compiled as single threaded which means some modules don't work (urllib for instance - so you have to roll your own url en/decoder). Which then leaves you in the stick world of two python installations of you want to use sockets and threads in other applications.
I've still not sussed out how to easily manage two installations
mod_python does rule though, I much prefer using it to php or standard CGI and I'm so glad I dont have to learn any more of mod_perl than the rudimentrary stuff I picked from reading the O'Reilly mod_perl book.
Re:bye bye (Score:1)
Re:bye bye (Score:2)
mod_python has the annoying attribute of requiring the whole python installation to be compiled as single threaded which means some modules don't work (urllib for instance - so you have to roll your own url en/decoder).
I am very surprised to hear that urllib has problems on a single-threaded interpreter. In fact I am somewhat doubtful that that is true!
Re:bye bye (Score:2, Informative)
In pennance for my mistake I embarked on the list of stuff from the standard distribution that failed on import $MODULE
dl : FAILED dl -- Call C functions in shared objects
gdbm : FAILED -- GNU's reinterpretation of dbm
mpz : FAILED -- GNU arbitrary magnitude integers (Deprecated since release 2.2.)
and of course
thread : FAILED
threading : FAILED
I hope that repays my debt to society