summaryrefslogtreecommitdiff
path: root/Tools/scripts/gencodec.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved gencodec.py to the Tools/unicode/ directory.Marc-André Lemburg2005-10-211-300/+0
| | | | | | Added new support for decoding tables. Cleaned up the implementation a bit.
* Remove copyright notices from gencodec.py output.Marc-André Lemburg2004-07-231-5/+0
| | | | | | The script was originally used to create the initial set of codecs (and these were (c) CNRI). While the script itself still is (c) CNRI, the output certainly isn't anymore.
* Fix comment typo.Walter Dörwald2003-02-021-1/+1
|
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-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.
* Moved the encoding map building logic from the individual mappingMarc-André Lemburg2001-05-161-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.
* Whitespace normalization.Tim Peters2001-01-171-4/+4
|
* This patch changes the default behaviour of the builtin charmapMarc-André Lemburg2001-01-031-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.
* Of course, I forget how to type long ago...Fred Drake2000-03-171-1/+1
| | | | Typo noted by /F.
* "write marshalled" --> "writes marshalled" (in docstring); noted byFred Drake2000-03-171-1/+1
| | | | Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
* Marc-Andre Lemburg: addedGuido van Rossum2000-03-101-0/+289
gencodec.py - Create Python codecs from Unicode mapping files