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 AlexWaygood
Recipients AlexWaygood, barneygale
Date 2022-02-12.20:24:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644697493.78.0.699430088078.issue46733@roundup.psfhosted.org>
In-reply-to
Content
Here's my two cents, as a non-expert when it comes to pathlib:

I'm not really sure why `is_mount()` exists on WindowsPath objects, given that it unconditionally raises `NotImplementedError` on WindowsPath objects -- that seems *very* strange to me. It seems to me like it should probably be a method on the `PosixPath` class rather than on the `Path` class.

The other methods that raise NotImplementedError don't seem as egregious, because none of them *unconditionally* raise NotImplementedError. We could debate whether some of them would raise different errors in an ideal world, but changing them now might have implications for backwards compatibility, and it doesn't seem like a *major* issue to me.
History
Date User Action Args
2022-02-12 20:24:53AlexWaygoodsetrecipients: + AlexWaygood, barneygale
2022-02-12 20:24:53AlexWaygoodsetmessageid: <1644697493.78.0.699430088078.issue46733@roundup.psfhosted.org>
2022-02-12 20:24:53AlexWaygoodlinkissue46733 messages
2022-02-12 20:24:53AlexWaygoodcreate