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?


-Chuck


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

Reply via email to