You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that as part of the patch, the range transformation now calls the generic in_special_context in addition to the customized one (which. I guess, should be removed, but I didn't dare).
All existing tests pass, but the patterns used may not be strict enough, though I tried to stick to how it was done for other consuming calls.
Activity
eddygeek commentedon Aug 28, 2014
This is a patch for issues similar to bpo-16573
With this patch, the following new tests are now unchanged:
Note that as part of the patch, the range transformation now calls the generic in_special_context in addition to the customized one (which. I guess, should be removed, but I didn't dare).
All existing tests pass, but the patterns used may not be strict enough, though I tried to stick to how it was done for other consuming calls.
M Lib/lib2to3/fixer_util.py
M Lib/lib2to3/fixes/fix_xrange.py
M Lib/lib2to3/tests/test_fixers.py