summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBar Harel <bzvi7919@gmail.com>2019-12-22 09:57:27 (GMT)
committerIvan Levkivskyi <levkivskyi@gmail.com>2019-12-22 09:57:27 (GMT)
commiteae87e3e4e0cb9a0ce10c2e101acb6995d79e09c (patch)
tree29c538b5b8708fe4410537ea5b81e1d8c08d222a /Misc
parentf522a6ddb67a238bab5673608111f74ec4e22205 (diff)
downloadcpython-eae87e3e4e0cb9a0ce10c2e101acb6995d79e09c.zip
cpython-eae87e3e4e0cb9a0ce10c2e101acb6995d79e09c.tar.gz
cpython-eae87e3e4e0cb9a0ce10c2e101acb6995d79e09c.tar.bz2
bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336)
Quick subclasshook fix using the same method is being used in collections.abc (up to a certain degree).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-11-22-12-08-52.bpo-38878.EJ0cFf.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-22-12-08-52.bpo-38878.EJ0cFf.rst b/Misc/NEWS.d/next/Library/2019-11-22-12-08-52.bpo-38878.EJ0cFf.rst
new file mode 100644
index 0000000..9cbdf08
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-11-22-12-08-52.bpo-38878.EJ0cFf.rst
@@ -0,0 +1,2 @@
+Fixed __subclasshook__ of :class:`os.PathLike` to return a correct result
+upon inheritence. Patch by Bar Harel.