This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients lukasz.langa, serhiy.storchaka
Date 2019-02-17.06:39:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550385558.96.0.943154032591.issue35942@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-17 06:39:18serhiy.storchakasetrecipients: + serhiy.storchaka, lukasz.langa
2019-02-17 06:39:18serhiy.storchakasetmessageid: <1550385558.96.0.943154032591.issue35942@roundup.psfhosted.org>
2019-02-17 06:39:18serhiy.storchakalinkissue35942 messages
2019-02-17 06:39:18serhiy.storchakacreate