Why read-only nested scopes?

Martin v. Löwis loewis at informatik.hu-berlin.de
Thu Sep 5 16:45:32 CEST 2002


"Jay O'Connor" <joconnor at cybermesa.com> writes:

> Why not simply disallow the using of a name already defined in an
> enclosing scope? Similar to Smalltalk?

That might break compatibility with existing code.

Regards,
Martin



More information about the Python-list mailing list