This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add tools for generating mappings_XX.h
Type: Stage: patch review
Components: Demos and Tools Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: corona10, hyeshik.chang, methane, serhiy.storchaka, vstinner
Priority: normal Keywords: patch

Created on 2020-04-19 13:13 by corona10, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 19602 merged corona10, 2020-04-19 13:26
Messages (4)
msg366777 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-04-19 13:13
AFAIK, there are no tools for generating mappings_XX.h under Modules/cjkcodecs.

It would cause a maintainable issue,
fortunately, I got the old source from https://github.com/BackupTheBerlios/cjkpython.
And I success to port into Python3 version and successfully reproduce to generating header file except for mappings_hk.h mappings_tw.h.

The patch will include a generator and Unicode mapping file.
I am not the codec expert but hopefully it will help us.
msg367682 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-04-29 17:34
New changeset 113feb3ec2b08948a381175d33b6ff308d24fceb by Dong-hee Na in branch 'master':
bpo-40328: Add tool for generating cjk mapping headers (GH-19602)
https://github.com/python/cpython/commit/113feb3ec2b08948a381175d33b6ff308d24fceb
msg369844 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2020-05-25 03:49
Would you close this issue?
msg369845 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-05-25 04:14
> Would you close this issue?

mappings_hk.h mappings_tw.h are still left :)
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84508
2020-05-25 04:14:49corona10setmessages: + msg369845
2020-05-25 03:49:41methanesetmessages: + msg369844
2020-04-29 17:34:31corona10setmessages: + msg367682
2020-04-19 14:20:06serhiy.storchakasetnosy: + hyeshik.chang, serhiy.storchaka

components: + Demos and Tools
versions: + Python 3.9
2020-04-19 13:26:02corona10setkeywords: + patch
stage: patch review
pull_requests: + pull_request18938
2020-04-19 13:13:59corona10create