Message268628
| 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(). |
|