[Twisted-Python] Adding DeprecationWarnings to twisted.internet.main
Andrew Bennetts
andrew-twisted at puzzling.org
Mon Jan 13 06:38:55 EST 2003
On Mon, Jan 13, 2003 at 06:09:17AM -0500, Bob Ippolito wrote:
>
> On Monday, Jan 13, 2003, at 01:43 America/New_York, Andrew Bennetts
> wrote:
>
> >At the very least, I think a PendingDeprecationWarning would be
> >appropriate (they are invisible by default). There are still parts of
> >Twisted that use this old module (e.g. t.e.adbapi), and I expect this
> >will be the case until we have some nice big warnings jump up at us
> >telling us to fix them :)
>
> as of a few hours ago, t.e.adbapi no longer even imports main (uses
> reactor.addSystemEventTrigger instead).
Heh :)
I'll take that as one more reason why we should add DeprecationWarning to
t.i.main ;)
-Andrew.
More information about the Twisted-Python
mailing list