Re: Strategy to Verify Python Program is POST'ing to a web server.

2011-06-18 Thread Eden Kirin
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

SCGIServer and unusal termination

2009-11-16 Thread Eden Kirin
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.

Re: SCGIServer and unusal termination

2009-11-16 Thread Eden Kirin
Anyone? -- www.vikendi.net -/- www.supergrupa.com -- http://mail.python.org/mailman/listinfo/python-list

Re: SCGIServer and unusal termination

2009-11-17 Thread Eden Kirin
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

Re: SCGIServer and unusal termination

2009-11-20 Thread Eden Kirin
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

Re: SCGIServer and unusal termination

2009-11-20 Thread Eden Kirin
Дамјан Георгиевски 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

Re: simple and fast platform independent IPC

2010-02-03 Thread Eden Kirin
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