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 barneygale
Recipients AlexWaygood, barneygale, eric.araujo, pitrou, serhiy.storchaka
Date 2022-02-14.21:01:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644872474.52.0.363167070659.issue46733@roundup.psfhosted.org>
In-reply-to
Content
Thanks very much Alex. I've added some PRs:

PR 31338 addresses owner(), group() and is_mount(). It moves those methods to PosixPath, and adds stubs in WindowsPath that raise deprecation warnings. I agree with your analysis that, for static typing purposes, these methods shouldn't even exist on WindowsPath!

PR 31339 addresses readlink(), symlink_to() and hardlink_to(). In this case I'm working towards making those methods unavailable if os.readlink(), symlink() and link() are unavailable. Not totally sold on this - thoughts?

PR 31340 addresses glob() and rglob(), switching the exception type to ValueError. I think this is a legitimate bugfix with minimal adverse effects.

PR 31341 addresses the Path constructor. This is a backwards incompatible change, and /probably/ not worth doing. I add it for completeness sake, as these four PRs cover all cases where pathlib raises NotImplementedError.
History
Date User Action Args
2022-02-14 21:01:14barneygalesetrecipients: + barneygale, pitrou, eric.araujo, serhiy.storchaka, AlexWaygood
2022-02-14 21:01:14barneygalesetmessageid: <1644872474.52.0.363167070659.issue46733@roundup.psfhosted.org>
2022-02-14 21:01:14barneygalelinkissue46733 messages
2022-02-14 21:01:14barneygalecreate