[Python-checkins] CVS: python/nondist/peps pep-0236.txt,1.2,1.3

Tim Peters tim_one@users.sourceforge.net
Tue, 27 Feb 2001 15:39:26 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv2659/python/nondist/peps

Modified Files:
	pep-0236.txt 
Log Message:
New Q&A about why we're not introducing an entirely new statement.


Index: pep-0236.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0236.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0236.txt	2001/02/27 01:13:34	1.2
--- pep-0236.txt	2001/02/27 23:39:23	1.3
***************
*** 312,315 ****
--- 312,326 ----
          different audience.
  
+      Q: Overloading "import" sucks.  Why not introduce a new statement for
+         this?
+ 
+      A: Like maybe "lambda lambda nested_scopes"?  That is, unless we
+         introduce a new keyword, we can't introduce an entirely new
+         statement.  But if we introduce a new keyword, that in itself
+         would break old code.  That would be too ironic to bear.  Yes,
+         overloading "import" does suck, but not as energeticallly as the
+         alternatives -- as is, future_statements are 100% backward
+         compatible.
+ 
  
  Copyright