On Mon, May 14, 2018 at 01:28:51PM +1200, Greg Ewing wrote:

> Redefining the existing keywords could perhaps be forbidden
> if you really want to protect people from shooting themselves
> in the kidneys this particular way.

So instead of having two classes of identifiers

- those that can be used anywhere;
- those that can only be used as dotted names;

you would have two classes of keywords:

- those that cannot be shadowed;
- those that can be shadowed.


-- 
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