Python 2.6's imaplib continues to use os.popen and in 2.6 this results in a noisy deprecation warning. This is fixed upstream in python 3.0, but the 2.6 line still seems "broken". I've backported the changes in 3.0 to 2.6 and I'll attach the patch here. Reproducible: Always Steps to Reproduce: 1. Use imaplib (specifically IMAP4_stream) under python 2.6 Actual Results: Noisy deprecation warnings from python. Expected Results: No warnings. :-)
Created attachment 202370 [details, diff] Convert os.popen calls to subprocess.Popen calls. Backported from python 3.0
Please report this bug to upstream. Maybe they will fix it in 2.6.5 or 2.7. http://bugs.python.org/
I've filed upstream bug http://bugs.python.org/issue7619.
This has been fixed in python trunk; I've asked about backporting it to 2.6.x.
Fixed in dev-lang/python-2.6.5.