This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients Aaron.Meurer, VPeric, benjamin.peterson, eric.araujo, meador.inge, petri.lehtinen
Date 2011-08-11.04:13:19
SpamBayes Score 0.00023227325
Marked as misclassified No
Message-id <1313036001.09.0.401114939768.issue12613@psf.upfronthosting.co.za>
In-reply-to
Content
I see two problems that cause the posted test cases to fail:

  1. The 'next' fixer runs before the 'itertools' fixer and strips
     out a 'power' node.  This keeps the 'itertools' fixer from
     matching.

  2. The 'itertools' fixer does not handle any 'trailer' nodes after
     the itertool function application it is transforming.

I have fixed both of these issues in the attached patch.  Full test suite run; no regressions.
History
Date User Action Args
2011-08-11 04:13:21meador.ingesetrecipients: + meador.inge, benjamin.peterson, eric.araujo, VPeric, Aaron.Meurer, petri.lehtinen
2011-08-11 04:13:21meador.ingesetmessageid: <1313036001.09.0.401114939768.issue12613@psf.upfronthosting.co.za>
2011-08-11 04:13:20meador.ingelinkissue12613 messages
2011-08-11 04:13:20meador.ingecreate