[3.7] bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter (GH-11831) by miss-islington · Pull Request #11912 · python/cpython
…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>
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