New submission from Brett Cannon <br...@python.org>:
Since os.PathLike explicitly defines a a protocol, it would make sense to have it inherit from typing.Protocol instead of abc.ABC. ---------- components: Library (Lib) messages: 357206 nosy: brett.cannon priority: normal severity: normal status: open title: Have os.PathLike inherit from typing.Protocol versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38885> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com