Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make regen-unicodedata produces different file on macos and windows #126525

Closed
sobolevn opened this issue Nov 7, 2024 · 0 comments
Closed

make regen-unicodedata produces different file on macos and windows #126525

sobolevn opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
build The build process and cross-build OS-mac OS-windows topic-unicode type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Nov 7, 2024

Bug report

  1. SCRIPT = sys.argv[0]
  2. fprint("/* this file was generated by %s %s */" % (SCRIPT, VERSION))

This produces:

/* this file was generated by ./Tools/unicode/makeunicodedata.py 3.3 */

on macos.

Compare it with the current file:

/* this file was generated by Tools/unicode/makeunicodedata.py 3.3 */

I will send a fix to produce the same results on different platforms.

Linked PRs

@sobolevn sobolevn added type-bug An unexpected behavior, bug, or error OS-mac build The build process and cross-build topic-unicode labels Nov 7, 2024
@sobolevn sobolevn self-assigned this Nov 7, 2024
sobolevn added a commit to sobolevn/cpython that referenced this issue Nov 7, 2024
@sobolevn sobolevn changed the title make regen-unicodedata produces different file on macos make regen-unicodedata produces different file on macos and windows Nov 12, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 12, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 12, 2024
sobolevn added a commit that referenced this issue Nov 12, 2024
GH-126526) (#126726)

gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526)
(cherry picked from commit f223efb)

Co-authored-by: sobolevn <[email protected]>
sobolevn added a commit that referenced this issue Nov 12, 2024
GH-126526) (#126725)

gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526)
(cherry picked from commit f223efb)

Co-authored-by: sobolevn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-mac OS-windows topic-unicode type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant