This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients JelleZijlstra, brett.cannon, buchuki, ethan.furman, martin.panter, python-dev, serhiy.storchaka
Date 2016-06-15.19:25:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466018756.3.0.0249417960317.issue27186@psf.upfronthosting.co.za>
In-reply-to
Content
os.fspath() will be changed to ensure the output of calling obj.__fspath__() is a str or bytes object.

So the final behavior of calling os.fspath() will be to return a str or bytes or to raise an exception.

I'll update the code for this change, as well is the places in the stdlib that do/should be using os.fspath().
History
Date User Action Args
2016-06-15 19:25:56ethan.furmansetrecipients: + ethan.furman, brett.cannon, python-dev, martin.panter, serhiy.storchaka, JelleZijlstra, buchuki
2016-06-15 19:25:56ethan.furmansetmessageid: <1466018756.3.0.0249417960317.issue27186@psf.upfronthosting.co.za>
2016-06-15 19:25:56ethan.furmanlinkissue27186 messages
2016-06-15 19:25:56ethan.furmancreate