]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336)
authorBar Harel <bzvi7919@gmail.com>
Sun, 22 Dec 2019 09:57:27 +0000 (11:57 +0200)
committerIvan Levkivskyi <levkivskyi@gmail.com>
Sun, 22 Dec 2019 09:57:27 +0000 (09:57 +0000)
commiteae87e3e4e0cb9a0ce10c2e101acb6995d79e09c
tree29c538b5b8708fe4410537ea5b81e1d8c08d222a
parentf522a6ddb67a238bab5673608111f74ec4e22205
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).
Lib/os.py
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2019-11-22-12-08-52.bpo-38878.EJ0cFf.rst [new file with mode: 0644]