removing use of mimetools, multifile, and rfc822
I just finished going through PEP 4 and adding DeprecationWarnings in 2.6for the various modules that were lacking the warning for some reason or another ... ... except for mimetools, multifile, and rfc822. All three modules are still used by some other module somewhere in the stdlib. The docs say to use the email package to replace these three, but there is no one-to-one mapping. And as I never use any of these three modules, email, or the modules still using the three in question I don't know how to go about ripping them out. In other words this email is to hopefully inspire someone to remove the uses of rfc822, mimetools, and multifile from the stdlib so the DeprecationWarnings can finally go in. -Brett
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On May 31, 2007, at 4:09 PM, Brett Cannon wrote:
I just finished going through PEP 4 and adding DeprecationWarnings in 2.6for the various modules that were lacking the warning for some reason or another ...
... except for mimetools, multifile, and rfc822. All three modules are still used by some other module somewhere in the stdlib. The docs say to use the email package to replace these three, but there is no one- to-one mapping. And as I never use any of these three modules, email, or the modules still using the three in question I don't know how to go about ripping them out.
In other words this email is to hopefully inspire someone to remove the uses of rfc822, mimetools, and multifile from the stdlib so the DeprecationWarnings can finally go in.
+1 for deprecating these. I don't have time to slog through the stdlib and do the work, but I would be happy to help answer questions about alternatives. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQCVAwUBRl9BLHEjvBPtnXfVAQKwZgP/aib1PVuLab/YLhCZ+XC82i9ow/tJrelk cLQhcM8Qc/iKcUmFKtKzkhdpOF43dZp6apGrq0ej9pMOdydsFk1wU8egRf+NRJac 00z4ZrMkmM4ZbQ/bNLWHTkqWmadkmTnOErNMl8HzCmbUdBOVNmj6/nzJNT14BRAy K3IRsA6RXzg= =QwId -----END PGP SIGNATURE-----
On 5/31/07, Barry Warsaw
In other words this email is to hopefully inspire someone to remove the uses of rfc822, mimetools, and multifile from the stdlib so the DeprecationWarnings can finally go in.
+1 for deprecating these. I don't have time to slog through the stdlib and do the work, but I would be happy to help answer questions about alternatives.
I will give it a shot and will try to come up with a patch. Thanks, Raghu
participants (3)
-
Barry Warsaw
-
Brett Cannon
-
Raghuram Devarakonda