[Twisted-web] Nevow and Twisted 2.0 deprecations

Donovan Preston dp at ulaluma.com
Fri Feb 11 14:50:44 MST 2005

On Feb 11, 2005, at 4:54 AM, Kevin Dangoor wrote:

> Hi,
> I've just decided to switch to Nevow (from Quixote) for an application 
> I'm working on. I'm using Nevow from svn and the Twisted 2.0 
> pre-alpha. I'm seeing some deprecation warnings, but I'm not sure what 
> the Nevow/Twisted 2.0 plan is. Would it be helpful if I submit patches 
> for Nevow's use of deprecated routines?

This is just one of those things that I haven't gotten around to fixing 
yet because it's not super important. I'm not sure I even want to fix 
this before 0.4; I might recommend people use 1.3 with 0.4. I 
absolutely certainly want to fix them before 0.5, which is going to be 
an optimization release.

Here is a blob of code you can put at the top of your tac or somewhere 
early in the lifetime of the program to shut them up for now:

import warnings
from twisted.python import components
warnings.filterwarnings('ignore', category=DeprecationWarning)
warnings.filterwarnings('ignore', category=FutureWarning)


More information about the Twisted-web mailing list