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 JelleZijlstra, brett.cannon, ethan.furman, serhiy.storchaka
Date 2016-07-04.16:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
At first glance issue27186-os_path_t.patch looks good.

But with the patch applied the error message in case of incorrect argument type is always "expected str, bytes or os.PathLike object, not ...". Currently it is more detailed and specific: contains the function and the argument names, and is aware that some functions accept an integer or None. I think the best way is to inline the code of PyOS_FSPath in path_converter.

Also we first resolve issue26800.
Date User Action Args
2016-07-04 16:50:47serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ethan.furman, JelleZijlstra
2016-07-04 16:50:47serhiy.storchakasetmessageid: <>
2016-07-04 16:50:47serhiy.storchakalinkissue26027 messages
2016-07-04 16:50:46serhiy.storchakacreate