Gregory (Grisha) Trubetskoy
grisha at modpython.org
Wed Feb 25 08:36:21 EST 2004
On Wed, 25 Feb 2004, vincent delft wrote: > adapt the psp.py code by using an "exec" (instead of eval) and redirect > sys.sdtout to req.write just before the execute. "print" is what the original mod_psp.c used, actually. The problem is that in a multithreaded configuration, there is only one sys.stdout for multiple requests, so one thread cannot assign to it without affecting others :-) Grisha
|