Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-40328: Add tool for generating cjk mapping headers#19602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
corona10 merged 14 commits intopython:masterfromcorona10:bpo-40328
Apr 29, 2020

Conversation

@corona10
Copy link
Member

@corona10corona10 commentedApr 19, 2020
edited by bedevere-bot
Loading

@corona10corona10 changed the titlebpo-40328: Add tool for generating mapping headers.bpo-40328: Add tool for generating mapping headersApr 19, 2020
@corona10corona10 requested a review fromvstinnerApril 19, 2020 13:29
@corona10
Copy link
MemberAuthor

corona10 commentedApr 19, 2020
edited
Loading

@vstinner
If this repository would not be a proper place to store files under tool/data
Is it okay to create a new repository for this? (it's too huge)
But files need to be stored somewhere in our manageable place since
these files can be broken and loose when the times are passed.
(e.ghttp://www.info.gov.hk/digital21/eng/hkscs/download/big5-iso.txt is broken now.)

@corona10corona10 requested a review frommethaneApril 19, 2020 13:33
@corona10corona10 changed the titlebpo-40328: Add tool for generating mapping headersbpo-40328: Add tool for generating cjk mapping headersApr 19, 2020
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I would prefer to put this script in Tools/unicode/ and don't store Unicode files in Modules/cjkcodecs/tools/data/CP932.TXT, but always download them: as done by Tools/unicode/makeunicodedata.py or some unit tests.

Copy link
MemberAuthor

@corona10corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@vstinner Please take a look :)

@corona10
Copy link
MemberAuthor

@methane@serhiy-storchaka
Also, Can you please take look at this PR?

@methane
Copy link
Member

I don't have time to understand the script. I only confirmed that this pull request doesn't change the mapping header files.

@corona10
Copy link
MemberAuthor

@methane
Thank you Naoki San!
The main objective of this PR is generating the same mapping header files :)
For example, we can make some change with this script when
something needs to change about supporting Japanese.
(I don't know the practical case)

@corona10
Copy link
MemberAuthor

@vstinner Can we merge this PR?

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should we run this script in "make regen-all"? Or do you expect that these generated files will never ever change?

Currently, "make regen-all" has no 3rd party dependencies, whereas this script requires to download files from the Internet. In my experience, any additional external dependency makes Python CIs less stable :-(

Other "unicode scripts" are no run by "make regen-all", so I think that it's fine.

@vstinner
Copy link
Member

@corona10: I let you decide if you are confident enough to merge this PR with no review.

Since this script is not run by any CI and only run manually, I don't see any risk of regression.

It seems like "Unicode experts" (including me) don't have the bandwidth to review your change.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner left review comments

@methanemethaneAwaiting requested review from methane

@serhiy-storchakaserhiy-storchakaAwaiting requested review from serhiy-storchaka

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@corona10@methane@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp