Go to content Go to menu Go to search

oldspeak

getmail 4.8.4 with python 2.6: deprecated imports

A recent upgrade to python 2.6 left a getmail cron job spewing warnings about a deprecated import of the sets module:

DeprecationWarning: the sets module is deprecated

Since python 2.4 the functionality of this module has been duplicated by built-in functions; a quick conversion is all that is required to quieten the new warnings. The patch is available here for those with a similar problem:

getmail-4.8.4-python-2.6.patch

No problems with it here so far, please leave a comment if you use the patch and find any.


© no rights reserved