Barney Gale added the comment:
My view:
I think the existing solution (that you highlight) is sufficiently idiomatic
and easy to discover, and doesn't warrant a new argument or function.
However, that may change when `Path` is subclassable, for two reasons:
1. You will be able to subclass `
New submission from Mikhail :
Hello! This is a very useful feature when a Path-object gets a list (or
generator, as it is now) of files/dirs in self.dir, I think. Right now this is
the .iterdir() function, but sometimes you only need `dirs` of that path (for
example, I really needed the funct