mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
News item about the new encoding normalization scheme.
This commit is contained in:
parent
9d158bb66f
commit
97047e219f
1 changed files with 6 additions and 0 deletions
|
@ -340,6 +340,12 @@ Extension modules
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Encoding name normalization was generalized to not only
|
||||||
|
replace hyphens with underscores, but also all other non-alphanumeric
|
||||||
|
characters (with the exception of the dot which is used for Python
|
||||||
|
package names during lookup). The aliases.py mapping was updated
|
||||||
|
to the new standard.
|
||||||
|
|
||||||
- mimetypes has two new functions: guess_all_extensions() which
|
- mimetypes has two new functions: guess_all_extensions() which
|
||||||
returns a list of all known extensions for a mime type, and
|
returns a list of all known extensions for a mime type, and
|
||||||
add_type() which adds one mapping between a mime type and
|
add_type() which adds one mapping between a mime type and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue