Steven D'Aprano wrote:
With programming languages, the designer can take the same route as Pascal or Java, and define standard functions as keywords that cannot be shadowed or redefined.
Nit: Pascal's standard types and functions are not reserved words, they're predeclared identifiers, much as in Python, and as far as I know can be shadowed. -- Greg -- https://mail.python.org/mailman/listinfo/python-list