[Twisted-Python] Deprecated Modules

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Apr 12 08:08:28 EDT 2013


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



More information about the Twisted-Python mailing list