Re: [Python-Dev] Removing the provisional label from pathlib

2016-05-23 Thread Chris Barker
On Fri, May 20, 2016 at 11:42 AM, Brett Cannon  wrote:

>
> WFM. I'll let 3.4 and 3.5 just stay as they are and make all PEP 519
> changes a 3.6 thing.
>

I'd like to see it in 3.5 if we could do that -- that'll be available for
operational code a lot sooner than 3.6, and it's still in active
maintenance mode, yes?

-CHB




> I'll update the implementation task list shortly.
>
> -Brett
>
>
>>
>> On Fri, May 20, 2016 at 9:43 AM, Brett Cannon  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
>> > [email protected]
>> > 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
> [email protected]
> 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

[email protected]
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Removing the provisional label from pathlib

2016-05-23 Thread Brett Cannon
On Mon, May 23, 2016, 09:55 Chris Barker  wrote:

> On Fri, May 20, 2016 at 11:42 AM, Brett Cannon  wrote:
>
>>
>> WFM. I'll let 3.4 and 3.5 just stay as they are and make all PEP 519
>> changes a 3.6 thing.
>>
>
> I'd like to see it in 3.5 if we could do that -- that'll be available for
> operational code a lot sooner than 3.6, and it's still in active
> maintenance mode, yes?
>

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 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  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
>>> > [email protected]
>>> > 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
>> [email protected]
>> 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
>
> [email protected]
>
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Removing the provisional label from pathlib

2016-05-23 Thread Chris Barker
On Mon, May 23, 2016 at 10:13 AM, Brett Cannon  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  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
 > [email protected]
 > 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
>>> [email protected]
>>> 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
>>
>> [email protected]
>>
>


-- 

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

[email protected]
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com