[Twisted-Python] Re: [Twisted-commits] r14614 - Describe log.debug, and 'printed' and 'debug' log dict items.

Nicola Larosa nico at tekNico.net
Tue Oct 4 01:20:09 MDT 2005


>> log.debug should die, I think. So it probably shouldn't be documented :)

> I was also told this by radix on IRC.
> 
> I see no deprecation warnings.  I documented it because I noticed a
> colleague of mine independently found and used it, and I'd never heard of
> it, so I corrected that, because it's clearly part of the public API at the
> moment.  If someone who feels confident that they understand the intent of
> twisted.python.log well enough wants to stick their neck out and deprecate
> debug, please do.  I'm not that person.

Also, a few words to the effect of *why* it should be deprecated would be
useful. We use it quite a lot, and I'd appreciate a few comments.

It wouldn't be a big problem should it go away, since we already
monkeypatch t.p.logging a lot, but it is still bewildering to see such
comments without any explanation.

-- 
Nicola Larosa - nico at tekNico.net

How much of what we are should we be proud of? When did we choose the
things that made us smart, knowledgeable, or successful? Should we be
proud? Should we feel superior? Maybe we should just be grateful.
 -- jgoldblog, May 2002





More information about the Twisted-Python mailing list