On Tue, Feb 9, 2021 at 7:11 AM Ethan Furman <et...@stoneleaf.us> wrote:

>
>  >> Where possible, should we retroactively make existing
>  >> keywords contextual?
>  >
>  > The benefit of contextual keywords is being able to choose popular
> method/function/variable names as new keywords
>  > without a disruptive deprecation and migration process. That benefit
> doesn't apply to existing keywords.
>
> No, but it would have the benefit of allowing existing keywords to be
> reused where it makes sense; a recent example I
> came across is the Tcl/Tk interface -- Tk has a method named `raise`, but
> it has to be renamed to tkraise because of the
> keyword clash (it's also given a `lift` alias).
>

This is a reasonable idea, with definite pros and cons. I recommend
starting a separate thread about that.

-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
python-committers mailing list -- python-committers@python.org
To unsubscribe send an email to python-committers-le...@python.org
https://mail.python.org/mailman3/lists/python-committers.python.org/
Message archived at 
https://mail.python.org/archives/list/python-committers@python.org/message/6BDF4ECV45OTMVJPZMJ3ILARMGONAZKE/
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to