Re: re-posting: web.py, incomplete

2006-03-04 Thread _wolf
ok, that does it! [EMAIL PROTECTED] a lot! sorry first of all for my adding to the confusion when i jumped to comment on that ``-u`` option thing---of course, **no -u option** means **buffered**, positively, so there is buffering and buffering problems, **with -u option** there is **no buffer**,

Re: re-posting: web.py, incomplete

2006-03-03 Thread Magnus Lycka
_wolf wrote: then the output is :: Hello, oops! Hello, oops! 20 lines omitted/ Hello, oops! Hel Are you running Python unbuffered? I.e. python -u -- http://mail.python.org/mailman/listinfo/python-list

Re: re-posting: web.py, incomplete

2006-03-03 Thread _wolf
it does look like it, no? but i don't---at least i think i don't. in my httpd conf it says ``AddHandler cgi-script .py``, and at the top of my script, ``#!/usr/local/bin/python``. standard, no ``-u`` here. -- http://mail.python.org/mailman/listinfo/python-list

Re: re-posting: web.py, incomplete

2006-03-03 Thread Magnus Lycka
Dennis Lee Bieber wrote: On 3 Mar 2006 04:01:44 -0800, _wolf [EMAIL PROTECTED] declaimed the following in comp.lang.python: it does look like it, no? No, it looks the other way around: You have buffered output, and parts of your stdout never gets flushed. -u is not a problem, it's the

re-posting: web.py, incomplete

2006-03-02 Thread _wolf
hi all, this is a re-posting of my question i asked a month or so ago. i installed web.py, flups, and cheetah. when i copy'n'paste the sample app from then http://webpy.org homepage :: import web urls = ( '/(.*)', 'hello' ) class hello: def GET(self, name):