]> granicus.if.org Git - python/commit
Bad bug: the MimeTypes.readfp() was supposed to take a file object as a
authorFred Drake <fdrake@acm.org>
Thu, 16 Aug 2001 15:54:28 +0000 (15:54 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 16 Aug 2001 15:54:28 +0000 (15:54 +0000)
commitc019ecb7fe7b44fa339defd071510ec2b0728775
tree3d926b7e1707e8e53e573c89afd9a21984328953
parent360e031f8d338b6be22ccd989473310864c454af
Bad bug: the MimeTypes.readfp() was supposed to take a file object as a
parameter, but did not.  This was found because it can create failures
elsewhere based on the presence of mime.types files in some common locations
the module searches by default.

(I will be writing a test for this module shortly!)
Lib/mimetypes.py