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 BaseHTTPRequestHandler is an instance of
> mimetools.Message. But in 3.0 it is an instance of
> http.client.HTTPMessage.
>
> So my question is, should 2.6 be changed to match 3.0, or should
> deprecation warnings for mimetools (and possibly other modules) just
> be silenced so as to not risk breaking backwards-compatibility?

Just silence them.  The warnings are an aid for finding bugs, not an
excuse to create more bugs.


-- 
Adam Olsen, aka Rhamphoryncus
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to