[Twisted-Python] Re: exarkun changed u"adbapi.py:12: 'safe' imported but unused"

Stephen Waterbury waterbug at pangalactic.us
Sat Mar 22 11:58:30 EDT 2008

trac at twistedmatrix.com wrote:
> Ticket u"adbapi.py:12: 'safe' imported but unused" changed by exarkun <exarkun at divmod.com>:
> #3022 deprecated `twisted.enterprise.util` and everything in it, including `safe`.
> Once that's been out for a while, we'll get rid of this stuff.

Okay, but the problem is that "safe" is not even *used* in adbapi,
nor in my code, but every time adbapi is imported, the deprecation
warning *incorrectly* spews out -- it's rather deceptive, not to
mention annoying.

(The "imported but not used" warning came from pyflakes -- the
import should have been removed even before the deprecation.)


More information about the Twisted-Python mailing list