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/2009-August/090944.html below:

[Python-Dev] standard library mimetypes module pathologically broken?

[Python-Dev] standard library mimetypes module pathologically broken?Robert Lehmann stargaming at gmail.com
Sun Aug 2 13:14:05 CEST 2009
On Sat, 01 Aug 2009 23:37:18 -0700, Jacob Rus wrote:

> Here is a somewhat more substantively changed version. This one does
> away with the 'inited' flag and the 'init' function, which might be
> impossible given that their documented (though I would be extremely
> surprised if anyone calls them in third-party code)
[snip]

There seem to be quite a bunch of high-profile third-party modules 
relying on this interface, eg. Zope, Plone, TurboGears, and CherryPy. See
http://www.google.com/codesearch?q=mimetypes.init+lang%3Apython for a 
more thorough listing.

Given that most of them aren't ported to Python 3 yet, I guess, changing 
the semantics in 3.x seems not-too-bad to me.

HTH,

-- 
Robert "Stargaming" Lehmann

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