python 3.x - Create os.DirEntry -
does have hack create os.direntry
object other listing containing directory?
i want use 2 purposes:
- tests
- api container , contained queried @ same time
in python 3.5 os.direntry not yet exposed.
details: https://bugs.python.org/issue27038
python 3.6 exposes os.direntry
type, cannot instantiated.
on python 3.5 type() on direntry object returns posix.direntry
Comments
Post a Comment