bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter by pablogsal · Pull Request #11831 · python/cpython
pablogsal
changed the title
bpo-36942: Delegate on PyOS_FSPath when checking for __fspath__ in path_converter
bpo-35942: Delegate on PyOS_FSPath when checking for __fspath__ in path_converter
pablogsal
changed the title
bpo-35942: Delegate on PyOS_FSPath when checking for __fspath__ in path_converter
bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter
ambv approved these changes Feb 18, 2019
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Feb 18, 2019…pes in path_converter (pythonGH-11831) The error message emitted when returning invalid types from __fspath__ in interfaces that allow passing PathLike objects has been improved and now it does explain the origin of the error. (cherry picked from commit 09fbcd6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
miss-islington added a commit that referenced this pull request
Feb 18, 2019…pes in path_converter (GH-11831) The error message emitted when returning invalid types from __fspath__ in interfaces that allow passing PathLike objects has been improved and now it does explain the origin of the error. (cherry picked from commit 09fbcd6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters