Author brett.cannon
Recipients benhoyt, brett.cannon, moloney, python-dev, vstinner
Date 2016-08-15.23:24:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471303470.63.0.51137033459.issue27038@psf.upfronthosting.co.za>
In-reply-to
Content
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 .
History
Date User Action Args
2016-08-15 23:24:30brett.cannonsetrecipients: + brett.cannon, vstinner, benhoyt, python-dev, moloney
2016-08-15 23:24:30brett.cannonsetmessageid: <1471303470.63.0.51137033459.issue27038@psf.upfronthosting.co.za>
2016-08-15 23:24:30brett.cannonlinkissue27038 messages
2016-08-15 23:24:30brett.cannoncreate