Message268628
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(). |
|
Date |
User |
Action |
Args |
2016-06-15 19:25:56 | ethan.furman | set | recipients:
+ ethan.furman, brett.cannon, python-dev, martin.panter, serhiy.storchaka, JelleZijlstra, buchuki |
2016-06-15 19:25:56 | ethan.furman | set | messageid: <1466018756.3.0.0249417960317.issue27186@psf.upfronthosting.co.za> |
2016-06-15 19:25:56 | ethan.furman | link | issue27186 messages |
2016-06-15 19:25:56 | ethan.furman | create | |
|