On 18.06.2011 13:34, mzagu...@gmail.com wrote:
Hello Folks,
I am wondering what your strategies are for ensuring that data
transmitted to a website via a python program is indeed from that
program, and not from someone submitting POST data using some other
means. I find it likely that there is
Hi there,
I'm playing with SCGIServer
(http://vmlinux.org/cgi-bin/dwww/usr/share/doc/python-scgi/guide.html),
everything works just fine, but one thing bothers me. All prints after
try-except block are executed twice after the Ctrl+C is pressed!
test.py:
#-
from scgi.
Anyone?
--
www.vikendi.net -/- www.supergrupa.com
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Is there some reasonable explanation for this behaviour? Thanks in
advance.
I can only guess that SCGIServer does something to stdout. Your code isn't
executed twice, so the doubling seems to come from writing it twice.
Yes I know that code isn't executed twice since
Diez B. Roggisch wrote:
- save a reference to sys.stdout *before* invoking the server
- compare to it after interruption. If it has changed, you at least know
that somebody messed with it, and can beat him or whatever you see fit.
Thanks for the help. Finally, I dropped python-scgi module an
Дамјан Георгиевски wrote:
SCGIServer().serve() forks, so it seems that there are 2 python
processes continuing to run after SCGIServer().serve()
I noticed that which makes it unusable to me. Also, it took me almost
whole day to realize this. I'm adopting a huge application to work with
SCGI
On 03.02.2010 09:32, News123 wrote:
Hi,
I wondered what IPC library might be best simplest for following task?
Consider using Thrift (http://incubator.apache.org/thrift/). It is
multiplatform multilanguage RPC and IPC solution. I implemented it in
couple of my projects and it works seamlessl