Staging
v0.5.1
https://github.com/python/cpython
Revision 5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 authored by Jeremy Hylton on 29 August 2001, 18:08:02 UTC, committed by Jeremy Hylton on 29 August 2001, 18:08:02 UTC
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.
1 parent 96d68d5
History
Tip revision: 5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 authored by Jeremy Hylton on 29 August 2001, 18:08:02 UTC
Revise implementations of getChildren() and getChildNodes().
Tip revision: 5477f52

README

back to top