On Wednesday October 17, 2001 06:04 am, Chuck Esterbrook wrote:
> In ThreadedAppServer, this little period is getting on my nerves:
>
>               try:
>                       # @@ This next print statement mysteriously fixes a shutdown 
>problem on
> FreeBSD.
>                       print "."
>                       conn.shutdown(1)
>                       conn.close()
>               except:
>                       pass
>
>
> The period creates a line of output for every request and that gets in the
> way of seeing console logging and debugging output.
>
> Two questions:
>
> * Is there a good way to detect FreeBSD so we can reserve this for that
> platform?
>
> * Also, on FreeBSD does sys.stdout.flush() in place of the print "." also
> fix the problem?

Or, it could be made a config setting, so we're covered when the same problem 
shows up on another OS.  While we're at it, we ought to add a config setting 
to suck up stdout and stderr to avoid the _other_ FreeBSD problem Jeff 
reported.


- Geoff

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to