[Python-checkins] python/dist/src/Tools/compiler astgen.py, 1.6,
1.7 compile.py, 1.7, 1.8 demo.py, 1.1, 1.2
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Sun Jul 18 08:02:36 CEST 2004
- Previous message: [Python-checkins]
python/dist/src/Tools/bgen/bgen bgenBuffer.py, 1.8,
1.9 bgenGenerator.py, 1.15, 1.16 bgenHeapBuffer.py, 1.4,
1.5 bgenModule.py, 1.12, 1.13 bgenObjectDefinition.py, 1.26,
1.27 bgenOutput.py, 1.6, 1.7 bgenStringBuffer.py, 1.2,
1.3 bgenType.py, 1.11, 1.12 macsupport.py, 1.30,
1.31 scantools.py, 1.34, 1.35
- Next message: [Python-checkins] python/dist/src/Misc BeOS-setup.py, 1.5,
1.6 find_recursionlimit.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/compiler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29862/compiler
Modified Files:
astgen.py compile.py demo.py
Log Message:
Whitespace normalization, via reindent.py.
Index: astgen.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/astgen.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** astgen.py 17 Sep 2001 20:16:30 -0000 1.6
--- astgen.py 18 Jul 2004 06:02:02 -0000 1.7
***************
*** 89,93 ****
self.args = self.args.replace('!', '')
self.args = self.args.replace('&', '')
!
return d
--- 89,93 ----
self.args = self.args.replace('!', '')
self.args = self.args.replace('&', '')
!
return d
***************
*** 159,163 ****
for name in self.argnames:
if self.argprops[name] == P_NONE:
! tmp = (" if self.%s is not None:"
" nodes.append(self.%s)")
print >> buf, tmp % (name, name)
--- 159,163 ----
for name in self.argnames:
if self.argprops[name] == P_NONE:
! tmp = (" if self.%s is not None:"
" nodes.append(self.%s)")
print >> buf, tmp % (name, name)
Index: compile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/compile.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** compile.py 12 Feb 2004 17:35:14 -0000 1.7
--- compile.py 18 Jul 2004 06:02:02 -0000 1.8
***************
*** 40,44 ****
else:
compileFile(filename, DISPLAY)
!
except SyntaxError, err:
print err
--- 40,44 ----
else:
compileFile(filename, DISPLAY)
!
except SyntaxError, err:
print err
Index: demo.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/demo.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** demo.py 25 Jul 2000 16:43:23 -0000 1.1
--- demo.py 18 Jul 2004 06:02:02 -0000 1.2
***************
*** 15,19 ****
scope. The scope is the name of the current class or None.
"""
!
def visitClass(self, node, scope=None):
self.visit(node.code, node.name)
--- 15,19 ----
scope. The scope is the name of the current class or None.
"""
!
def visitClass(self, node, scope=None):
self.visit(node.code, node.name)
***************
*** 23,27 ****
print "%s.%s" % (scope, node.name)
self.visit(node.code, None)
!
def main(files):
mf = MethodFinder()
--- 23,27 ----
print "%s.%s" % (scope, node.name)
self.visit(node.code, None)
!
def main(files):
mf = MethodFinder()
***************
*** 35,38 ****
if __name__ == "__main__":
import sys
!
main(sys.argv[1:])
--- 35,38 ----
if __name__ == "__main__":
import sys
!
main(sys.argv[1:])
- Previous message: [Python-checkins]
python/dist/src/Tools/bgen/bgen bgenBuffer.py, 1.8,
1.9 bgenGenerator.py, 1.15, 1.16 bgenHeapBuffer.py, 1.4,
1.5 bgenModule.py, 1.12, 1.13 bgenObjectDefinition.py, 1.26,
1.27 bgenOutput.py, 1.6, 1.7 bgenStringBuffer.py, 1.2,
1.3 bgenType.py, 1.11, 1.12 macsupport.py, 1.30,
1.31 scantools.py, 1.34, 1.35
- Next message: [Python-checkins] python/dist/src/Misc BeOS-setup.py, 1.5,
1.6 find_recursionlimit.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list