A counter-counter-proposal for PEP 236: #pragma( nested_scopes)
Warren Postma
embed at geocities.com
Fri Mar 2 15:34:02 EST 2001
Sallied for Warren:
> > Has anyone considered borrowing a C notation:
> >
> > #pragma( nested_scopes )
> >
> > Benefits:
> > - It's a comment therefore it doesn't break anything else.
Thusly spake Peter:
> But that's dead-wrong behavior for future_statements. If your module
needs
> nested_scopes semantics, it will do unpredictable wrong things at runtime
if
> it doesn't get them. That's why PEP 236 is emphatically *not* a "pragma"
> proposal.
Hmm. I wonder how many people would be happier with this syntax
from __twilightzone__ import nested_scopes
<grin>
Warren
More information about the Python-list
mailing list