[mod_python] implications of multiple interpreters

Graham Dumpleton graham.dumpleton at gmail.com
Fri May 4 23:19:29 EDT 2007

As 'calendar' is a pure Python module any problem wouldn't be anything
to do with multiple sub interpreters as each sub interpreter has its
own copy of pure Python code modules. Any problem you saw is more
likely the result of using the Apache worker MPM on UNIX, or using a
Windows box, and the fact that distinct requests can be running
concurrently within the one sub interpreter of a process in different


On 04/05/07, John Raines <jrraines at comcast.net> wrote:
> Last night I found a bug in my code that involved using
> calendar.setfirstweekday in one place and later assuming that it was
> the default at another place (actually an earlier place that I came
> back to).
> As I think about this there may be an interaction with multiple
> interpreters so that this MIGHTt ave been hard to reproduce and find.
> I fixed my problem but I am interested in understanding the
> implications of multiple interpreters for issues of this sort.
> I suspect this is not dissimilar to the brief thread earlier in the
> week about python 3.0.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list