[issue10552] Tools/unicode/gencodec.py error

2021-11-24 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10552] Tools/unicode/gencodec.py error

2021-11-24 Thread Irit Katriel
Irit Katriel added the comment: I don't think Martin's patch has been applied. Is it needed? -- nosy: +iritkatriel ___ Python tracker ___

[issue10552] Tools/unicode/gencodec.py error

2015-01-12 Thread Martin Panter
Martin Panter added the comment: Here is a new version of Kuchling’s patch. I restored some mapping files which do not give any errors (including the mac_turkish codec, which is actually documented), and removed both readme files. -- components: +Unicode nosy: +haypo, vadmium

[issue10552] Tools/unicode/gencodec.py error

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___ ___ Python-bugs-list mailing

[issue10552] Tools/unicode/gencodec.py error

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue10552] Tools/unicode/gencodec.py error

2014-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +hynek, ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue10552] Tools/unicode/gencodec.py error

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: For the Mac issue, we could just delete the mapping files before processing them. I've attached a patch that modifies the Makefile. -- nosy: +akuchling Added file: http://bugs.python.org/file32565/10552-remove-apple-files.txt

[issue10552] Tools/unicode/gencodec.py error

2010-11-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in revision 86891. Keeping open to address Mac issue. -- assignee: - belopolsky components: +Macintosh priority: normal - low stage: commit review - needs patch ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Martin, I believe you were the last to update the unicode database. (See r85371.) Did you use python2.x to generate it or you have your own private copy of these tools? I noticed that genwincodecs.bat refers to

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: gencodec.py is only rarely used, namely when adding new codecs based on Unicode mapping files. It is not run regularly on the files from ftp.unicode.org and only updated on demand. AFAIK, it was last used on Python2 and never on Python3,

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. BTW: You appear to have a comma appended to the constant, that doesn't belong there: +# Placeholder for a missing codepoint

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file19843/issue10552a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. BTW: You appear to have a comma appended to the

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:38 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. Sure, we won't need that script anytime soon and if we do, we can just as well use the Python2 version. That may not be true. I

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: These changes don't affect gencodec.py, but it may be inconvenient to run makeunicodedata.py and gencodec.py using different versions of Python. As MAL explains: these are completely unrelated, independent tools, and gencodec isn't run

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Alexander Belopolsky
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

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Attached patch addresses the issue by using -1 instead of None for missing codes. Comparison of generated encoding files to those in Lib/encodings shows only whitespace changes except one which appears to be a change on

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Attached patch addresses the issue by using -1 instead of None for missing codes. Comparison of generated encoding files to those in

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___ ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Attached patch uses MISSING_CODE as Mark suggested. There are still errors apparently because parsecodes() may return either an int or a tuple. I think only mac encodings are affected, so I would like to commit the

[issue10552] Tools/unicode/gencodec.py error

2010-11-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Please ignore Makefile changes in the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___