summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authoraiudirog <aiudirog@gmail.com>2019-08-08 05:41:10 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-08-08 05:41:10 (GMT)
commit4c69be22df3852f17873a74d015528d9a8ae92d6 (patch)
treed0f30d3f81f17f85594408e9e5705a678c98f851 /Misc
parent0378d98678f3617fd44d9a6266e7c17ebce62755 (diff)
downloadcpython-4c69be22df3852f17873a74d015528d9a8ae92d6.zip
cpython-4c69be22df3852f17873a74d015528d9a8ae92d6.tar.gz
cpython-4c69be22df3852f17873a74d015528d9a8ae92d6.tar.bz2
bpo-34775: Return NotImplemented in PurePath division. (GH-9509)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-09-23-03-18-52.bpo-34775.vHeuHk.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-09-23-03-18-52.bpo-34775.vHeuHk.rst b/Misc/NEWS.d/next/Library/2018-09-23-03-18-52.bpo-34775.vHeuHk.rst
new file mode 100644
index 0000000..f99bf5b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-09-23-03-18-52.bpo-34775.vHeuHk.rst
@@ -0,0 +1,3 @@
+Division handling of PurePath now returns NotImplemented instead of raising
+a TypeError when passed something other than an instance of str or PurePath.
+Patch by Roger Aiudi.