New submission from James Skinner:
When using the Path class in Lib/pathlib.py under Windows, calling p.owner() or
p.group() fails with an ImportError due to importing the pwd and grp modules
respectively, as neither of those exist. The documentation doesn't mention this
behaviour.
James Skinner added the comment:
Ok, I'm not sure when I got the idea they should return ids instead of the
names :) But raising NotImplementedError is certainly an improvement on
ImportError.
As to implementing it on Windows, the answer by eryksun on this page works
without requ