A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-August/081748.html below:

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

[Python-Dev] Dealing with mimetools usage in the stdlib [Python-Dev] Dealing with mimetools usage in the stdlibBrett Cannon brett at python.org
Sun Aug 10 07:41:10 CEST 2008
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?

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4