This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cameron Trando
Recipients Cameron Trando
Date 2019-08-22.18:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Currently os.PathLike[str] causes a runtime error; however, typeshed sees it as valid and mypy does not throw any errors on it. 

mypy treats it as os.PathLike[AnyStr] 

I already filed a bug on typeshed, see

And since mypy interprets it as useful, cpython should try and support it as well.
Date User Action Args
2019-08-22 18:20:41Cameron Trandosetrecipients: + Cameron Trando
2019-08-22 18:20:41Cameron Trandosetmessageid: <>
2019-08-22 18:20:41Cameron Trandolinkissue37920 messages
2019-08-22 18:20:41Cameron Trandocreate