On Fri, May 18, 2018 at 06:05:05PM +1200, Greg Ewing wrote:
> Steven D'Aprano wrote:
> >It's Python 3.8, and I learn that in 4.0 "spam" is going to become a 
> >keyword. I simply take my code and change all the references spam to 
> >\spam, and I've future-proofed the code for 4.0 while still keeping 
> >compatibility with 3.8 and 3.9.
> 
> Okay, maybe it helps a little bit, but not very much. There
> will still be a lot of reluctance to add new keywords, because
> of the disruption it will cause to existing code.

That's okay, in fact there *ought* to be reluctance to add new keywords. 
The aim of the exercise is not to add dozens of new keywords to the 
language, just to make it easier to deal with the situation when we do.


-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to