[Python-checkins] CVS: python/dist/src/Tools/scripts gencodec.py,1.5,1.6
M.-A. Lemburg
lemburg@users.sourceforge.net
Wed, 16 May 2001 02:41:47 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Lib codecs.py,1.17,1.18
- Next message: [Python-checkins] CVS: python/dist/src/Lib/encodings cp037.py,1.2,1.3 cp1006.py,1.2,1.3 cp1026.py,1.2,1.3 cp1250.py,1.2,1.3 cp1251.py,1.2,1.3 cp1252.py,1.2,1.3 cp1253.py,1.2,1.3 cp1254.py,1.2,1.3 cp1255.py,1.2,1.3 cp1256.py,1.2,1.3 cp1257.py,1.2,1.3 cp1258.py,1.2,1.3 cp424.py,1.2,1.3 cp437.py,1.2,1.3 cp500.py,1.2,1.3 cp737.py,1.2,1.3 cp775.py,1.2,1.3 cp850.py,1.2,1.3 cp852.py,1.2,1.3 cp855.py,1.2,1.3 cp856.py,1.3,1.4 cp857.py,1.2,1.3 cp860.py,1.2,1.3 cp861.py,1.2,1.3 cp862.py,1.2,1.3 cp863.py,1.2,1.3 cp864.py,1.2,1.3 cp865.py,1.2,1.3 cp866.py,1.2,1.3 cp869.py,1.2,1.3 cp874.py,1.2,1.3 cp875.py,1.2,1.3 iso8859_1.py,1.2,1.3 iso8859_10.py,1.2,1.3 iso8859_13.py,1.2,1.3 iso8859_14.py,1.2,1.3 iso8859_15.py,1.2,1.3 iso8859_2.py,1.2,1.3 iso8859_3.py,1.2,1.3 iso8859_4.py,1.2,1.3 iso8859_5.py,1.2,1.3 iso8859_6.py,1.2,1.3 iso8859_7.py,1.2,1.3 iso8859_8.py,1.2,1.3 iso8859_9.py,1.2,1.3 koi8_r.py,1.2,1.3 mac_cyrillic.py,1.2,1.3 mac_greek.py,1.2,1.3 mac_iceland.py,1.2,1.3 mac_latin2.py,1.2,1.3 mac_roman.py,1.2,1.3 mac_turkish.py,1.2,1.3 rot_13.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv23495/Tools/scripts
Modified Files:
gencodec.py
Log Message:
Moved the encoding map building logic from the individual mapping
codec files to codecs.py and added logic so that multi mappings
in the decoding maps now result in mappings to None (undefined mapping)
in the encoding maps.
Index: gencodec.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/scripts/gencodec.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** gencodec.py 2001/01/17 08:48:39 1.5
--- gencodec.py 2001/05/16 09:41:45 1.6
***************
*** 245,251 ****
### Encoding Map
! encoding_map = {}
! for k,v in decoding_map.items():
! encoding_map[v] = k
''')
return string.join(l,'\n')
--- 245,249 ----
### Encoding Map
! encoding_map = codecs.make_encoding_map(decoding_map)
''')
return string.join(l,'\n')
- Previous message: [Python-checkins] CVS: python/dist/src/Lib codecs.py,1.17,1.18
- Next message: [Python-checkins] CVS: python/dist/src/Lib/encodings cp037.py,1.2,1.3 cp1006.py,1.2,1.3 cp1026.py,1.2,1.3 cp1250.py,1.2,1.3 cp1251.py,1.2,1.3 cp1252.py,1.2,1.3 cp1253.py,1.2,1.3 cp1254.py,1.2,1.3 cp1255.py,1.2,1.3 cp1256.py,1.2,1.3 cp1257.py,1.2,1.3 cp1258.py,1.2,1.3 cp424.py,1.2,1.3 cp437.py,1.2,1.3 cp500.py,1.2,1.3 cp737.py,1.2,1.3 cp775.py,1.2,1.3 cp850.py,1.2,1.3 cp852.py,1.2,1.3 cp855.py,1.2,1.3 cp856.py,1.3,1.4 cp857.py,1.2,1.3 cp860.py,1.2,1.3 cp861.py,1.2,1.3 cp862.py,1.2,1.3 cp863.py,1.2,1.3 cp864.py,1.2,1.3 cp865.py,1.2,1.3 cp866.py,1.2,1.3 cp869.py,1.2,1.3 cp874.py,1.2,1.3 cp875.py,1.2,1.3 iso8859_1.py,1.2,1.3 iso8859_10.py,1.2,1.3 iso8859_13.py,1.2,1.3 iso8859_14.py,1.2,1.3 iso8859_15.py,1.2,1.3 iso8859_2.py,1.2,1.3 iso8859_3.py,1.2,1.3 iso8859_4.py,1.2,1.3 iso8859_5.py,1.2,1.3 iso8859_6.py,1.2,1.3 iso8859_7.py,1.2,1.3 iso8859_8.py,1.2,1.3 iso8859_9.py,1.2,1.3 koi8_r.py,1.2,1.3 mac_cyrillic.py,1.2,1.3 mac_greek.py,1.2,1.3 mac_iceland.py,1.2,1.3 mac_latin2.py,1.2,1.3 mac_roman.py,1.2,1.3 mac_turkish.py,1.2,1.3 rot_13.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]