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

Stephen Waterbury waterbug at pangalactic.us
Sat Mar 22 17:43:17 EDT 2008


Jean-Paul Calderone wrote:
> On Sat, 22 Mar 2008 11:58:30 -0400, Stephen Waterbury 
> <waterbug at pangalactic.us> wrote:
>> 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.
> 
> Aha!  Sorry, I didn't get this from the ticket.  I've adjusted it
> slightly so that, I hope, it is a bit more clear. :)

No problem:  I understand, you thought I was just complaining about
the deprecation ... I don't mind deprecation warnings, as long as
I'm actually *using* the thing that I'm getting warned about.  ;)

Thanks!
Steve





More information about the Twisted-Python mailing list