Message413263
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. |
|
Date |
User |
Action |
Args |
2022-02-14 21:01:14 | barneygale | set | recipients:
+ barneygale, pitrou, eric.araujo, serhiy.storchaka, AlexWaygood |
2022-02-14 21:01:14 | barneygale | set | messageid: <1644872474.52.0.363167070659.issue46733@roundup.psfhosted.org> |
2022-02-14 21:01:14 | barneygale | link | issue46733 messages |
2022-02-14 21:01:14 | barneygale | create | |
|