"Deprecated sets module" with Python 2.6

Giampaolo Rodola' gnewsg at gmail.com
Wed Jul 29 06:25:19 EDT 2009


What about this?

import warnings
warnings.simplefilter('ignore', DeprecationWarning)
import the_module_causing_the_warning
warnings.resetwarnings()


--- Giampaolo
http://code.google.com/p/pyftpdlib
http://code.google.com/p/psutil



More information about the Python-list mailing list