summaryrefslogtreecommitdiff
path: root/Tools/scripts/gencodec.py
AgeCommit message (Collapse)AuthorLines
2003-02-02Fix comment typo.Walter Dörwald-1/+1
2002-09-11Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald-27/+17
(with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
2001-05-16Moved the encoding map building logic from the individual mappingMarc-André Lemburg-3/+1
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.
2001-01-17Whitespace normalization.Tim Peters-4/+4
2001-01-03This patch changes the default behaviour of the builtin charmapMarc-André Lemburg-11/+39
codec to not apply Latin-1 mappings for keys which are not found in the mapping dictionaries, but instead treat them as undefined mappings. The patch was originally written by Martin v. Loewis with some additional (cosmetic) changes and an updated test script by Marc-Andre Lemburg. The standard codecs were recreated from the most current files available at the Unicode.org site using the Tools/scripts/gencodec.py tool. This patch closes the bugs #116285 and #119960.
2000-03-17Of course, I forget how to type long ago...Fred Drake-1/+1
Typo noted by /F.
2000-03-17"write marshalled" --> "writes marshalled" (in docstring); noted byFred Drake-1/+1
Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
2000-03-10Marc-Andre Lemburg: addedGuido van Rossum-0/+289
gencodec.py - Create Python codecs from Unicode mapping files