Message335756
The custom `__fspath__()` handling is used in `path_converter` for better error reporting. The error message can include names of the function and the argument. PyOS_FSPath() can not provides this information.
I agree that error reporting about incorrect type of the __fspath__() result should be improved. |
|
Date |
User |
Action |
Args |
2019-02-17 06:39:18 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lukasz.langa |
2019-02-17 06:39:18 | serhiy.storchaka | set | messageid: <1550385558.96.0.943154032591.issue35942@roundup.psfhosted.org> |
2019-02-17 06:39:18 | serhiy.storchaka | link | issue35942 messages |
2019-02-17 06:39:18 | serhiy.storchaka | create | |
|