[issue21652] Python 2.7.7 regression in mimetypes module on Windows

James Y Knight report at bugs.python.org
Tue Jun 3 16:42:12 CEST 2014


New submission from James Y Knight:

The change done for issue9291 in Python 2.7.7 caused the mimetypes.types_map dict to change to contain a mixture of str and unicode objects, rather than just str, as it always had before.

This causes twisted.web to crash when serving static files on Windows. See https://twistedmatrix.com/trac/ticket/7461 for the bug report against Twisted.

----------
components: Library (Lib)
messages: 219693
nosy: Daniel.Szoska, Dmitry.Jemerov, Hugo.Lol, Michał.Pasternak, Roman.Evstifeev, Suzumizaki, Vladimir Iofik, aclover, adamhj, brian.curtin, eric.araujo, foom, frankoid, haypo, jason.coombs, kaizhu, loewis, me21, python-dev, quick.es, r.david.murray, shimizukawa, tim.golden, vldmit
priority: normal
severity: normal
status: open
title: Python 2.7.7 regression in mimetypes module on Windows
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21652>
_______________________________________


More information about the Python-bugs-list mailing list