[issue9541] node.pre_order() does not do preorder traversal

2010-08-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9541] node.pre_order() does not do preorder traversal

2010-08-07 Thread Joe Amenta
Joe Amenta added the comment: Fixed in r83811. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9541] node.pre_order() does not do preorder traversal

2010-08-07 Thread Joe Amenta
New submission from Joe Amenta : 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 ori