MINGW-packages/mingw-w64-python3.13/0175-Fix-new-variable-name-using.patch
Christoph Reiter 04c9ed3700 python3.13: Add 3.13.7
* add libb2 as dep
* remove "-Wl,--large-address-aware", default now via makepkg
* remove 2to3 logic, no longer in Python
2025-09-08 22:02:30 +02:00

23 lines
699 B
Diff

From 134959271a935d5ae378c79aa676d35ab5424299 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Sat, 6 Sep 2025 11:22:38 +0300
Subject: [PATCH 175/N] Fix new variable name using
---
Lib/importlib/_bootstrap_external.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index cbe7330..b449a9e 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -43,7 +43,7 @@ if _MS_WINDOWS:
else:
path_separators = ['/']
-if sys.use_alt_sep:
+if sys._use_alt_sep:
path_separators = path_separators[::-1]
# Assumption made in _path_join()