[Python-checkins] python/dist/src/Lib/compiler transformer.py, 1.39, 1.40

mwh at users.sourceforge.net mwh at users.sourceforge.net
Mon Jul 12 15:15:58 CEST 2004


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

Modified Files:
	transformer.py 
Log Message:
this is patch

[ 988698 ] compiler.transformer fix for (a, b) = 1, 2

fixing bug

[ 988613 ] compiler.transformer and tuple unpacking



Index: transformer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/compiler/transformer.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** transformer.py	19 May 2004 08:20:08 -0000	1.39
--- transformer.py	12 Jul 2004 13:15:56 -0000	1.40
***************
*** 930,934 ****
          while 1:
              t = node[0]
!             if t == symbol.exprlist or t == symbol.testlist:
                  if len(node) > 2:
                      return self.com_assign_tuple(node, assigning)
--- 930,934 ----
          while 1:
              t = node[0]
!             if t == symbol.exprlist or t == symbol.testlist or t == symbol.testlist_gexp:
                  if len(node) > 2:
                      return self.com_assign_tuple(node, assigning)



More information about the Python-checkins mailing list