cpython/Lib/compiler
Jeremy Hylton 5477f529d6 Revise implementations of getChildren() and getChildNodes().
Add support for floor division (// and //=)

The implementation of getChildren() and getChildNodes() is intended to
be faster, because it avoids calling flatten() on every return value.
But it's not clear that it is a lot faster, because constructing a
tuple with just the right values ends up being slow.  (Too many
attribute lookups probably.)

The ast.txt file is much more complicated, with funny characters at
the ends of names (*, &, !) to indicate the types of each child node.

The astgen script is also much more complex, making me wonder if it's
still useful.
2001-08-29 18:08:02 +00:00
..
__init__.py typo 2001-04-09 04:23:55 +00:00
ast.py Revise implementations of getChildren() and getChildNodes(). 2001-08-29 18:08:02 +00:00
consts.py Define constants for types of scopes 2001-04-12 06:39:24 +00:00
future.py Track removal of doc string from Module().nodes[0] 2001-08-18 00:07:46 +00:00
misc.py Handle private names 2001-08-27 22:56:16 +00:00
pyassem.py XXX_NAME ops should affect varnames 2001-08-28 16:36:12 +00:00
pycodegen.py Make sure the JUMP_ABSOLUTE and POP_BLOCK at the end of a for loop are 2001-08-28 17:28:33 +00:00
symbols.py Handle private names 2001-08-27 22:56:16 +00:00
transformer.py Don't include doc string of class in its code child 2001-08-29 17:19:02 +00:00
visitor.py Two changes to visitor API: 2001-08-27 20:47:08 +00:00