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, gvanrossum, levkivskyi
Date 2019-08-22.20:19:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566505159.51.0.726468984167.issue37920@roundup.psfhosted.org>
In-reply-to
Content
What happened is that we have a hard time analyzing PathLike because in the pathlib stub they use PathLike[str], so when we try to analyze Path which inherits from PathLike[str], because PathLike is not generic, then we think it's an instance of an object and don't inherit from it. That means Path has incorrect bases.

Previously we assumed we only had to special case typing so we will special case PathLike as well.
History
Date User Action Args
2019-08-22 20:19:19Cameron Trandosetrecipients: + Cameron Trando, gvanrossum, levkivskyi
2019-08-22 20:19:19Cameron Trandosetmessageid: <1566505159.51.0.726468984167.issue37920@roundup.psfhosted.org>
2019-08-22 20:19:19Cameron Trandolinkissue37920 messages
2019-08-22 20:19:19Cameron Trandocreate