Message113233
In Lib/lib2to3/pytree.py, Node.pre_order() calls the post_order() method of its children, instead of pre_order(). As a result, the only difference between the two orderings is that pre_order() yields the original node first, whereas post_order() yields the original node last. It seems highly unlikely to me that any code would depend on this behavior.
The fix, of course, is trivial: change the call to child.post_order() on line 289 into a call to child.pre_order(). |
|
Date |
User |
Action |
Args |
2010-08-08 04:08:19 | joe.amenta | set | recipients:
+ joe.amenta |
2010-08-08 04:08:19 | joe.amenta | set | messageid: <1281240499.35.0.988494777631.issue9541@psf.upfronthosting.co.za> |
2010-08-08 04:08:17 | joe.amenta | link | issue9541 messages |
2010-08-08 04:08:16 | joe.amenta | create | |
|