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

Jeremy Hylton jeremy@alum.mit.edu
Tue, 20 Feb 2001 23:24:40 -0500 (EST)


>>>>> "AMK" == Andrew Kuchling <akuchlin@cnri.reston.va.us> writes:

  AMK> 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.

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

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

Well said.

Jeremy