[Twisted-Python] Deprecated Modules
Ralph Meijer
ralphm at ik.nu
Fri Apr 12 07:14:24 EDT 2013
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.
--
ralphm
More information about the Twisted-Python
mailing list