[Patches] [ python-Patches-554192 ] mimetypes: all extensions for a type
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 09 May 2002 10:31:39 -0700
Patches item #554192, was opened at 2002-05-09 19:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=554192&group_id=5470
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: mimetypes: all extensions for a type
Initial Comment:
This patch adds a function guess_all_extensions to
mimetypes.py. This function returns all known
extensions for a given type, not just the first one
found in the types_map dictionary. guess_extension is
still present and returns the first from the list.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=554192&group_id=5470