[Python-Dev] pathlib - current status of discussions
Ethan Furman
ethan at stoneleaf.us
Thu Apr 14 12:39:06 EDT 2016
On 04/14/2016 09:09 AM, Victor Stinner wrote:
> 2016-04-14 16:54 GMT+02:00 Ethan Furman:
>>> I consider that the final goal of the whole discussion is to support
>>> something like:
>>>
>>> path = os.path.join(pathlib_path, "str_path", direntry)
>>>
>>> (...)
>>> I expect that DirEntry.__fspath__ uses os.fsdecode() to return str,
>>> just to make my life easier.
>>
>> This would be where we strongly disagree.
>
> FYI it's ok that we disagree on this point, at least I expressed my opinion ;-)
Absolutely. I appreciate you explaining your point of view.
> At least, we now identified better a point of disagreement.
Agreed. :)
~Ethan~
More information about the Python-Dev
mailing list