Author serhiy.storchaka
Recipients Jelle Zijlstra, brett.cannon, ethan.furman, serhiy.storchaka
Date 2016-07-04.16:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467651047.25.0.999291514876.issue26027@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-07-04 16:50:47serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ethan.furman, Jelle Zijlstra
2016-07-04 16:50:47serhiy.storchakasetmessageid: <1467651047.25.0.999291514876.issue26027@psf.upfronthosting.co.za>
2016-07-04 16:50:47serhiy.storchakalinkissue26027 messages
2016-07-04 16:50:46serhiy.storchakacreate