[Python-checkins]
python/dist/src/Lib/compiler transformer.py, 1.45, 1.46
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Tue Sep 7 17:36:59 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/compiler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18071/dist/src/Lib/compiler
Modified Files:
transformer.py
Log Message:
Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.
Index: transformer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/compiler/transformer.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- transformer.py 7 Sep 2004 15:28:00 -0000 1.45
+++ transformer.py 7 Sep 2004 15:36:48 -0000 1.46
@@ -811,8 +811,8 @@
defaults.append(self.com_node(nodelist[i + 1]))
i = i + 2
elif len(defaults):
+ # XXX This should be a syntax error.
# Treat "(a=1, b)" as "(a=1, b=None)"
- print nodelist[i]
defaults.append(Const(None))
i = i + 1
More information about the Python-checkins
mailing list