summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2021-04-22 20:04:44 (GMT)
committerGitHub <noreply@github.com>2021-04-22 20:04:44 (GMT)
commit4696f1285d83dd7b69f459c63e14080b1f87f797 (patch)
tree9e832b30c9fb55d55ff0a7e56c729c529bbc9e1c /Misc/NEWS.d
parenta911bd15a19824c92af8e90b63af4a84a9670222 (diff)
downloadcpython-4696f1285d83dd7b69f459c63e14080b1f87f797.zip
cpython-4696f1285d83dd7b69f459c63e14080b1f87f797.tar.gz
cpython-4696f1285d83dd7b69f459c63e14080b1f87f797.tar.bz2
bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Windows/2021-04-22-20-39-49.bpo-35306.F0Cg6X.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2021-04-22-20-39-49.bpo-35306.F0Cg6X.rst b/Misc/NEWS.d/next/Windows/2021-04-22-20-39-49.bpo-35306.F0Cg6X.rst
new file mode 100644
index 0000000..af41b3c
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2021-04-22-20-39-49.bpo-35306.F0Cg6X.rst
@@ -0,0 +1,2 @@
+Avoid raising errors from :meth:`pathlib.Path.exists()` when passed an
+invalid filename.