]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Nov 2024 10:41:28 +0000 (11:41 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2024 10:41:28 +0000 (10:41 +0000)
gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526)
(cherry picked from commit f223efb2a2d6a3e86556be7295cbbd3ef839f489)

Co-authored-by: sobolevn <mail@sobolevn.me>
Tools/unicode/makeunicodedata.py

index 034642db06e48b08623af59a4a5bdb923953d2bf..8732db22dbd630be708201be38e69126e069b2b7 100644 (file)
@@ -35,7 +35,7 @@ from functools import partial
 from textwrap import dedent
 from typing import Iterator, List, Optional, Set, Tuple
 
-SCRIPT = sys.argv[0]
+SCRIPT = os.path.normpath(sys.argv[0])
 VERSION = "3.3"
 
 # The Unicode Database