[Twisted-Python] Re: exarkun changed u"adbapi.py:12: 'safe' imported but unused"
trac@twistedmatrix.com wrote:
Ticket u"adbapi.py:12: 'safe' imported but unused" changed by exarkun <exarkun@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.) Steve
On Sat, 22 Mar 2008 11:58:30 -0400, Stephen Waterbury <waterbug@pangalactic.us> wrote:
trac@twistedmatrix.com wrote:
Ticket u"adbapi.py:12: 'safe' imported but unused" changed by exarkun <exarkun@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. :) Jean-Paul
Jean-Paul Calderone wrote:
On Sat, 22 Mar 2008 11:58:30 -0400, Stephen Waterbury <waterbug@pangalactic.us> wrote:
trac@twistedmatrix.com wrote:
Ticket u"adbapi.py:12: 'safe' imported but unused" changed by exarkun <exarkun@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
participants (2)
-
Jean-Paul Calderone
-
Stephen Waterbury