Re: [Python-Dev] Dealing with mimetools usage in the stdlib

2008-08-10 Thread Brett Cannon
On Sat, Aug 9, 2008 at 11:52 PM, Adam Olsen <[EMAIL PROTECTED]> wrote: > On Sat, Aug 9, 2008 at 11:41 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On my quest to remove warnings raised in 2.6 when Python is run with >> -3, the issue of dealing with mimetools has come up in terms of >> backwards-c

Re: [Python-Dev] Dealing with mimetools usage in the stdlib

2008-08-09 Thread Adam Olsen
On Sat, Aug 9, 2008 at 11:41 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On my quest to remove warnings raised in 2.6 when Python is run with > -3, the issue of dealing with mimetools has come up in terms of > backwards-compatibility. For instance, in BaseHTTPServer, the headers > attribute on Ba

[Python-Dev] Dealing with mimetools usage in the stdlib

2008-08-09 Thread Brett Cannon
On my quest to remove warnings raised in 2.6 when Python is run with -3, the issue of dealing with mimetools has come up in terms of backwards-compatibility. For instance, in BaseHTTPServer, the headers attribute on BaseHTTPRequestHandler is an instance of mimetools.Message. But in 3.0 it is an ins