diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-10 00:47:08 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-10 00:47:08 (GMT) |
commit | 5e0ce53e0ed0785535ca8fe56dfaa283e48062ca (patch) | |
tree | a521b4f7e454163552e238e2391b43d99de3bb93 /Lib/SimpleHTTPServer.py | |
parent | 69926eaee050674b12c55ca6f476f1d1dc5b7db3 (diff) | |
download | cpython-5e0ce53e0ed0785535ca8fe56dfaa283e48062ca.zip cpython-5e0ce53e0ed0785535ca8fe56dfaa283e48062ca.tar.gz cpython-5e0ce53e0ed0785535ca8fe56dfaa283e48062ca.tar.bz2 |
add ExampleASTVisitor:
* prints out examples of nodes that are handled by visitor. simply a
development convenience
remove NestedCodeGenerator -- it was bogus after all
replace with generateFunctionCode, a method to call to generate code
for a function instead of a top-level module
fix impl of visitDiscard (most pop stack)
emit lineno for pass
handle the following new node types: Import, From, Getattr, Subscript,
Slice, AssAttr, AssTuple, Mod, Not, And, Or, List
LocalNameFinder: remove names declared as globals for locals
PythonVMCode: pass arg names to constructor, force varnames to contain
them all (even if they aren't referenced)
add -q option on command line to disable stdout
Diffstat (limited to 'Lib/SimpleHTTPServer.py')
0 files changed, 0 insertions, 0 deletions