On Jan 23, 2:27 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 23 Jan 2008 11:58:05 -0200, Bret <[EMAIL PROTECTED]> escribió: > > > On Jan 22, 1:00 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > > >> If you have to do it that way, use: > > > Is there a better way? A more Pythonic way? > > It's simple, clear and works fine, why make it more complicated? > Unless you have additional requirements, like a multithreaded program. > > -- > Gabriel Genellina
Ultimately, it will be multithreaded -- and I had intended to wrap the access to the global member in a lock to ensure only one thread could get a value at any point. It might also become multiprocess (ugh!) and so might need to live in its own SocketServer some day. But for now, I agree. Simple is good. I just wanted to be sure I wasn't oversimplifying, you know? Thanks! -- http://mail.python.org/mailman/listinfo/python-list