diff options
author | atomlong | 2021-08-28 11:19:04 +0800 |
---|---|---|
committer | atomlong | 2021-08-28 13:15:13 +0800 |
commit | 89a67c05174951d172252b1db96ff93cc4ec4bcd (patch) | |
tree | d8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0089-pathlib-path-sep.patch | |
parent | cf8d8d8771493a2aa8370ed323d06dc733a84181 (diff) | |
download | aur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz |
Update to 3.9.6
Diffstat (limited to '0089-pathlib-path-sep.patch')
-rw-r--r-- | 0089-pathlib-path-sep.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0089-pathlib-path-sep.patch b/0089-pathlib-path-sep.patch new file mode 100644 index 000000000000..ca87d8ae15ac --- /dev/null +++ b/0089-pathlib-path-sep.patch @@ -0,0 +1,25 @@ +From df3c78d7fbec2a02d559d26315c00d8f29e0a6c8 Mon Sep 17 00:00:00 2001 +From: Christoph Reiter <reiter.christoph@gmail.com> +Date: Thu, 17 Jun 2021 18:52:31 +0530 +Subject: [PATCH 089/N] pathlib path sep + +--- + Lib/pathlib.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Lib/pathlib.py b/Lib/pathlib.py +index 60e2855..9fc9f38 100644 +--- a/Lib/pathlib.py ++++ b/Lib/pathlib.py +@@ -123,6 +123,8 @@ class _WindowsFlavour(_Flavour): + + sep = '\\' + altsep = '/' ++ if 'MSYSTEM' in os.environ: ++ sep, altsep = altsep, sep + has_drv = True + pathmod = ntpath + +-- +2.32.0 + |