New submission from Alexander Belopolsky <belopol...@users.sourceforge.net>:
$ ../../python.exe gencodec.py MAPPINGS/VENDORS/MISC/ build/ converting APL-ISO-IR-68.TXT to build/apl_iso_ir_68.py and build/apl_iso_ir_68.mapping converting ATARIST.TXT to build/atarist.py and build/atarist.mapping converting CP1006.TXT to build/cp1006.py and build/cp1006.mapping converting CP424.TXT to build/cp424.py and build/cp424.mapping Traceback (most recent call last): File "gencodec.py", line 421, in <module> convertdir(*sys.argv[1:]) File "gencodec.py", line 391, in convertdir pymap(mappathname, map, dirprefix + codefile,name,comments) File "gencodec.py", line 355, in pymap code = codegen(name,map,encodingname,comments) File "gencodec.py", line 268, in codegen precisions=(4, 2)) File "gencodec.py", line 152, in python_mapdef_code mappings = sorted(map.items()) TypeError: unorderable types: NoneType() < int() It does appear to have been updated for 3.x: $ python2.7 gencodec.py MAPPINGS/VENDORS/MISC/ build/ Traceback (most recent call last): File "gencodec.py", line 35, in <module> UNI_UNDEFINED = chr(0xFFFE) ValueError: chr() arg not in range(256) ---------- components: Demos and Tools messages: 122549 nosy: belopolsky, lemburg priority: normal severity: normal status: open title: Tools/unicode/gencodec.py error type: behavior versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10552> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com