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 <1566498041.58.0.919656436902.issue37920@roundup.psfhosted.org>
In-reply-to
Content
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 https://github.com/python/typeshed/issues/3202

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