[Python-Dev] Removing the provisional label from pathlib

Chris Barker chris.barker at noaa.gov
Mon May 23 15:38:53 EDT 2016


On Mon, May 23, 2016 at 10:13 AM, Brett Cannon <brett at python.org> wrote:

> 3.5 is still getting bugfixes:
> https://docs.python.org/devguide/#status-of-python-branches
>
> As for backporting __fspath__() for pathlib, you can easily write your own
> subclass that adds it. And since the stdlib won't be updated in 3.5 for
> consumption of fspath
>

OK -- when I said "it", I meant the whole shebang -- i.e. the stdlib stuff
too. But fair enough, we can't be backporting everything, and I that would
be touching a lot of the lib.

-CHB



> you're only missing out on production which your subclass can take care of.
>
> -brett
>
>
>
>> -CHB
>>
>>
>>
>>
>>> I'll update the implementation task list shortly.
>>>
>>> -Brett
>>>
>>>
>>>>
>>>> On Fri, May 20, 2016 at 9:43 AM, Brett Cannon <brett at python.org> wrote:
>>>> > Three questions:
>>>> >
>>>> > Should pathlib gain __fspath__() all the way back to 3.4?
>>>> > Should pathlib's constructor support __fspath__() all the way back to
>>>> 3.4?
>>>> > (separate question as os.fspath() will only be in 3.6; and if we
>>>> backport
>>>> > I'm not looking forward to making Typeshed happy w/o os.PathLike being
>>>> > available only in 3.6 :/)
>>>> > Should the docs from 3.4 and forward reflect the removal of the
>>>> provisional
>>>> > status? (I assume yes, but wanted to double-check)
>>>> >
>>>> > And a quick thanks to Guido for removing `path` from pathlib for me
>>>> already.
>>>> > :)
>>>> >
>>>> > _______________________________________________
>>>> > Python-Dev mailing list
>>>> > Python-Dev at python.org
>>>> > https://mail.python.org/mailman/listinfo/python-dev
>>>> > Unsubscribe:
>>>> > https://mail.python.org/mailman/options/python-dev/guido%40python.org
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> --Guido van Rossum (python.org/~guido)
>>>>
>>>
>>> _______________________________________________
>>> Python-Dev mailing list
>>> Python-Dev at python.org
>>> https://mail.python.org/mailman/listinfo/python-dev
>>>
>> Unsubscribe:
>>> https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov
>>>
>>>
>>
>>
>> --
>>
>> Christopher Barker, Ph.D.
>> Oceanographer
>>
>> Emergency Response Division
>> NOAA/NOS/OR&R            (206) 526-6959   voice
>> 7600 Sand Point Way NE   (206) 526-6329   fax
>> Seattle, WA  98115       (206) 526-6317   main reception
>>
>> Chris.Barker at noaa.gov
>>
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160523/f855f0c7/attachment.html>


More information about the Python-Dev mailing list