]> granicus.if.org Git - python/commit
Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return
authorBrett Cannon <brett@python.org>
Fri, 24 Jun 2016 19:03:43 +0000 (12:03 -0700)
committerBrett Cannon <brett@python.org>
Fri, 24 Jun 2016 19:03:43 +0000 (12:03 -0700)
commitc78ca1e044b7ca4c1764bb3670196e72351d4467
tree3435d7babe85991192e645d12c9ec2b24b4de04f
parent19b2a53a82c8f4d179efdc39fb39f766191cac2b
Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return
type of __fspath__().

As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
Doc/c-api/sys.rst
Doc/library/os.rst
Lib/os.py
Lib/test/test_io.py
Lib/test/test_os.py
Misc/NEWS
Modules/posixmodule.c