[Python-Dev] pathlib - current status of discussions

Victor Stinner victor.stinner at gmail.com
Thu Apr 14 12:09:14 EDT 2016


2016-04-14 16:54 GMT+02:00 Ethan Furman <ethan at stoneleaf.us>:
>> 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 ;-)

At least, we now identified better a point of disagreement.

Victor


More information about the Python-Dev mailing list