A counter-counter-proposal for PEP 236: #pragma( nested_scopes)

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Mar 2 11:01:01 EST 2001


"Tim Peters" <tim.one at home.com> writes:

> Hmm.  Maybe that's why I so dislike Martin's attempt to hijack PEP 236:  his
> current formulation of an alternative leaves only the raw names, without the
> __future__ or __possible_world__ qualifiers.  

If *that* is the complaint, then the patch can be easily changed into reading

directive future nested_scopes

(future would be the directive name, and nested_scopes the atom
argument). In that case, I'd prefer /F's interpretation of the state
of things, i.e.

directive experimental nested_scopes

since this does not talk about the future, but about the present (just
as the future import does not talk about the future, but about
directives that are presently needed).

Regards,
Martin



More information about the Python-list mailing list