Author joe.amenta
Recipients joe.amenta
Date 2010-08-08.04:08:16
SpamBayes Score 1.62937e-05
Marked as misclassified No
Message-id <>
In Lib/lib2to3/, 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:19joe.amentasetrecipients: + joe.amenta
2010-08-08 04:08:19joe.amentasetmessageid: <>
2010-08-08 04:08:17joe.amentalinkissue9541 messages
2010-08-08 04:08:16joe.amentacreate