]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] 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:48:55 +0000 (11:48 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2024 10:48:55 +0000 (10:48 +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 a5ac09eb96f19a5af3cb2ab2840e1d7cfe237d4b..c4ba674ecb134a5eb595bc73aa653afba413a4e3 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