[Python-checkins] python/dist/src/Lib symbol.py,1.15,1.16

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed May 19 04:20:38 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9770/Lib

Modified Files:
	symbol.py 
Log Message:
SF patch #872326:  Generator expression implementation
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.



Index: symbol.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/symbol.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** symbol.py	3 Oct 2002 09:42:01 -0000	1.15
--- symbol.py	19 May 2004 08:20:05 -0000	1.16
***************
*** 62,82 ****
  atom = 305
  listmaker = 306
! lambdef = 307
! trailer = 308
! subscriptlist = 309
! subscript = 310
! sliceop = 311
! exprlist = 312
! testlist = 313
! testlist_safe = 314
! dictmaker = 315
! classdef = 316
! arglist = 317
! argument = 318
! list_iter = 319
! list_for = 320
! list_if = 321
! testlist1 = 322
! encoding_decl = 323
  #--end constants--
  
--- 62,86 ----
  atom = 305
  listmaker = 306
! testlist_gexp = 307
! lambdef = 308
! trailer = 309
! subscriptlist = 310
! subscript = 311
! sliceop = 312
! exprlist = 313
! testlist = 314
! testlist_safe = 315
! dictmaker = 316
! classdef = 317
! arglist = 318
! argument = 319
! list_iter = 320
! list_for = 321
! list_if = 322
! gen_iter = 323
! gen_for = 324
! gen_if = 325
! testlist1 = 326
! encoding_decl = 327
  #--end constants--
  




More information about the Python-checkins mailing list