[Python-3000] About "daemon" in threading module

Nick Coghlan ncoghlan at gmail.com
Mon Sep 8 23:01:41 CEST 2008


Terry Reedy wrote:
> Different people have different mis-spelling quirks.  I might type demon
> (in other contexts) but never deamon instead of daemon.  There are other
> stdlib attributes I am more likely to misspell, so worrying about just
> this one, to the point of changing the implementation, seems a bit
> mis-directed.

I actually agree, but the concern about mispelling daemon in particular
was raised by a couple of folks (my own opinion is that failing to set a
thread's daemon status correctly should be picked up by even a pretty
basic unit test suite).

However, if anything at all was to be done about this, explicitly
intercepting a couple of common spelling errors (such as 'demon' and
'deamon') struck me as a lower impact approach than completely blocking
the addition of new attributes to Thread instances.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
            http://www.boredomandlaziness.org


More information about the Python-3000 mailing list