Author ethan.furman
Recipients Jelle Zijlstra, 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, Jelle Zijlstra, 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