
lemburg at users
Oct 21, 2005, 7:02 AM
Post #1 of 1
(250 views)
Permalink
|
|
python/dist/src/Lib/encodings aliases.py, 1.29, 1.30
|
|
Update of /cvsroot/python/python/dist/src/Lib/encodings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19297 Modified Files: aliases.py Log Message: Alias iso8859_1 to latin_1 which is the same encoding, but has a much faster codec implementation. Index: aliases.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/encodings/aliases.py,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- aliases.py 9 Oct 2005 19:41:19 -0000 1.29 +++ aliases.py 21 Oct 2005 14:02:28 -0000 1.30 @@ -393,11 +393,18 @@ 'cskoi8r' : 'koi8_r', # latin_1 codec + # + # Note that the latin_1 codec is implemented internally in C and a + # lot faster than the charmap codec iso8859_1 which uses the same + # encoding. This is why we discourage the use of the iso8859_1 + # codec and alias it to latin_1 instead. + # '8859' : 'latin_1', 'cp819' : 'latin_1', 'csisolatin1' : 'latin_1', 'ibm819' : 'latin_1', 'iso8859' : 'latin_1', + 'iso8859_1' : 'latin_1', 'iso_8859_1' : 'latin_1', 'iso_8859_1_1987' : 'latin_1', 'iso_ir_100' : 'latin_1', _______________________________________________ Python-checkins mailing list Python-checkins [at] python http://mail.python.org/mailman/listinfo/python-checkins
|