[Twisted-Python] Deprecated Modules

RJ Ewing ewing.rj at gmail.com
Fri Apr 12 18:07:51 MDT 2013


Thank you. That was the problem.

RJ


On Fri, Apr 12, 2013 at 5:08 AM, <exarkun at twistedmatrix.com> wrote:

> On 11:14 am, ralphm at ik.nu wrote:
> >On 2013-04-12 08:43, RJ Ewing wrote:
> >>If I import a deprecated module and then run the test-suite should I
> >>be
> >>seeing an error? I think that I should be seeing an error, but I am
> >>not.
> >>I am not sure if I am doing something wrong or if my local environment
> >>is weird.
> >
> >Twisted should always emit DeprecationWarnings for such uses. However,
> >since Python 2.7, these are suppressed by default and you need to
> >specifically enable the 'default' setting to see them again. Yeah.
> >
> >See
> ><http://docs.python.org/dev/whatsnew/2.7.html#the-future-for-
> >python-2-x>
> >for details.
>
> This is an unfortunate bug, though.  See <http://tm.tl/6348>.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20130412/1c657136/attachment.html>


More information about the Twisted-Python mailing list