Message413276
WindowsPath.is_mount() should call ntpath.ismount(). This function needs a significant redesign, but it's fine to use it as long as it's documented that is_mount() is equivalent to os.path.ismount().
Since the owner() and group() methods return names instead of numeric IDs, technically we could implement them in WindowsPath. That said, in Windows, st_mode and chmod() are unrelated to a file's owner and group, plus object ownership is fundamentally different from POSIX. Unless chown() is also implemented, I don't think we would gain much from knowing the owner and group, other than making it easier to display them. |
|
Date |
User |
Action |
Args |
2022-02-15 04:25:32 | eryksun | set | recipients:
+ eryksun, pitrou, eric.araujo, serhiy.storchaka, barneygale, AlexWaygood |
2022-02-15 04:25:32 | eryksun | set | messageid: <1644899132.03.0.765784722667.issue46733@roundup.psfhosted.org> |
2022-02-15 04:25:32 | eryksun | link | issue46733 messages |
2022-02-15 04:25:31 | eryksun | create | |
|