https://github.com/python/cpython
Revision a01065a3588d3f0d0c57ea35107aa97e722fe2b2 authored by Miss Islington (bot) on 18 February 2019, 11:05:52 UTC, committed by GitHub on 18 February 2019, 11:05:52 UTC

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 09fbcd6085e18b534fd4161844ff39f77eb4a082)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent a7f929d
History
Tip revision: a01065a3588d3f0d0c57ea35107aa97e722fe2b2 authored by Miss Islington (bot) on 18 February 2019, 11:05:52 UTC
bpo-35942: Improve the error message if __fspath__ returns invalid types in path_converter (GH-11831)
Tip revision: a01065a
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.0 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.8 KB
configure.ac -rw-r--r-- 163.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.7 KB

README.rst

back to top