[Python-Dev] Those import related syntax errors again...

Andrew Kuchling akuchlin@mems-exchange.org
Tue, 20 Feb 2001 22:29:36 -0500


On Wed, Feb 21, 2001 at 01:58:18PM +1100, Mark Hammond wrote:
>Assuming that people really _do_ want this feature, IMO the bar should be
>raised so there are _zero_ backward compatibility issues.

Even at the cost of additional implementation complexity?  At the cost
of having to learn "scopes are nested, unless you do these two things
in which case they're not"?

Let's not waffle.  If nested scopes are worth doing, they're worth
breaking code.  Either leave exec and from..import illegal, or back
out nested scopes, or think of some better solution, but let's not
introduce complicated backward compatibility hacks.

--amk