[scikit-learn] Vote on SLEP009: keyword only arguments

Vlad Niculae zephyr14 at gmail.com
Mon Sep 16 06:02:18 EDT 2019


I vote +1

Hopefully keyword-only args become normalized and a future will come where
I won't see `x.sum(0)` anymore

VN

On Sat, Sep 14, 2019 at 11:23 PM Thomas J Fan <thomasjpfan at gmail.com> wrote:

> +1 from me
>
> On Sat, Sep 14, 2019 at 8:12 AM Joel Nothman <joel.nothman at gmail.com>
> wrote:
>
>> I am +1 for this change.
>>
>> I agree that users will accommodate the syntax sooner or later.
>>
>> On Fri., 13 Sep. 2019, 7:54 pm Jeremie du Boisberranger, <
>> jeremie.du-boisberranger at inria.fr> wrote:
>>
>>> I don't know what is the policy about a sklearn 1.0 w.r.t api changes.
>>>
>>> If it's meant to be a special release with possible api changes without
>>> deprecation cycles, I think this change is a good candidate for 1.0
>>>
>>>
>>> Otherwise I'm +1 and agree with Guillaume, people will get used to it by
>>> using it.
>>>
>>> Jérémie
>>>
>>>
>>>
>>> On 12/09/2019 10:06, Guillaume Lemaître wrote:
>>>
>>> To the question: do we want to utilise Python 3's force-keyword-argument
>>> syntax
>>> and to change existing APIs which support arguments positionally to use
>>> this
>>> syntax, via a deprecation period?
>>>
>>> I am +1.
>>>
>>> IMO, even if the syntax might be unknown, it will remain unknown until
>>> projects
>>> from the ecosystem are not using it.
>>>
>>> To the question: which methods should be impacted?
>>>
>>> I think we should be as gentle as possible at first. I am a little
>>> concerned about
>>> breaking some codes which were working fine before.
>>>
>>> On Thu, 12 Sep 2019 at 04:43, Joel Nothman <joel.nothman at gmail.com>
>>> wrote:
>>>
>>>> These there details of specific API changes to be decided:
>>>>
>>>> The question being put, as per the SLEP, is:
>>>> do we want to utilise Python 3's force-keyword-argument syntax
>>>> and to change existing APIs which support arguments positionally to use
>>>> this syntax, via a deprecation period?
>>>> _______________________________________________
>>>> scikit-learn mailing list
>>>> scikit-learn at python.org
>>>> https://mail.python.org/mailman/listinfo/scikit-learn
>>>>
>>>
>>>
>>> --
>>> Guillaume Lemaitre
>>> INRIA Saclay - Parietal team
>>> Center for Data Science Paris-Saclay
>>> https://glemaitre.github.io/
>>>
>>> _______________________________________________
>>> scikit-learn mailing listscikit-learn at python.orghttps://mail.python.org/mailman/listinfo/scikit-learn
>>>
>>> _______________________________________________
>>> scikit-learn mailing list
>>> scikit-learn at python.org
>>> https://mail.python.org/mailman/listinfo/scikit-learn
>>>
>> _______________________________________________
>> scikit-learn mailing list
>> scikit-learn at python.org
>> https://mail.python.org/mailman/listinfo/scikit-learn
>>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190916/78672b96/attachment.html>


More information about the scikit-learn mailing list