Mailing List Archive

python/dist/src/Misc NEWS,1.480,1.481
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv16079/Misc

Modified Files:
NEWS
Log Message:
Apply diff3.txt (plus additional documentation)
from SF patch http://www.python.org/sf/554192

This adds two new functions to mimetypes:
guess_all_extensions() which returns a list of all known
extensions for a mime type, and add_type() which adds one
mapping between a mime type and an extension.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.480
retrieving revision 1.481
diff -C2 -d -r1.480 -r1.481
*** NEWS 5 Sep 2002 21:48:07 -0000 1.480
--- NEWS 6 Sep 2002 16:15:58 -0000 1.481
***************
*** 322,325 ****
--- 322,330 ----
Library

+ - mimetypes has two new functions: guess_all_extensions() which
+ returns a list of all known extensions for a mime type, and
+ add_type() which adds one mapping between a mime type and
+ an extension to the database.
+
- New module: sets, defines the class Set that implements a mutable
set type using the keys of a dict to represent the set. There's