]> granicus.if.org Git - python/commit
Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
authorBrett Cannon <bcannon@gmail.com>
Sat, 16 Aug 2008 21:47:07 +0000 (21:47 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 16 Aug 2008 21:47:07 +0000 (21:47 +0000)
commitabe423ed2cbf0ee118f6d060890258c2898fea1d
treeff1dc90be7bbff1a8823a7d9dcc8219d57f49464
parent1e296cc8584ef0a6d5b70d8e1eff0a4971460503
Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
This does have an unfortunate side-effect of silencing the warning for all
subsequent code that imports mimetools as well since the warning is only
executed upon the first import of mimetools.
Lib/BaseHTTPServer.py
Misc/NEWS