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 | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com