Code

028058e622be3fb0d2f946470b0dfd4efd829c3f
[roundup.git] / roundup / anypy / TODO.txt
1 Python compatiblity TODO
2 ~~~~~~~~~~~~~~~~~~~~~~~~
4 - the popen2 module is deprecated as of Python 2.6;
5   the subprocess module is available since Python 2.4,
6   thus a roundup.anypy.subprocess_ module is needed
8 - the MimeWriter module is deprecated as of Python 2.6.  The email package is
9   available since Python 2.2, thus we should manage without a ...email_
10   module;  however, it has suffered some API changes over the time
11   (http://docs.python.org/library/email.html#package-history),
12   so this is not sure.
14   Here's an incomplete replacement table:
16   MimeWriter usage                        checked for
17   -> email usage                          Python ...
18   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
19   MimeWriter.MimeWriter
20   -> email.Message.Message                (2.3)
22   MimeWriter.MimeWrite.addheader
23   -> email.Message.Message.add_header     (2.3)
25 # vim: si