From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:41:28 +0000 (+0100) Subject: [3.12] gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526... X-Git-Tag: v3.12.8~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc31c73f5aaa1c3d03f1552be6be8b44b4604b4c;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526) (#126726) gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526) (cherry picked from commit f223efb2a2d6a3e86556be7295cbbd3ef839f489) Co-authored-by: sobolevn --- diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index 034642db06e4..8732db22dbd6 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -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