[issue27038] Make os.DirEntry exist
Brett Cannon
report at bugs.python.org
Mon Aug 15 19:24:30 EDT 2016
Brett Cannon added the comment:
If all you want is to extract the path representation from an os.DirEntry instance and continue to work with strings/bytes then you can use os.fspath() which is new in Python 3.6 to get the representation: https://docs.python.org/3.6/library/os.html#os.fspath .
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27038>
_______________________________________
More information about the Python-bugs-list
mailing list