Commits

Author Commit Message Labels Comments Date
joe.amenta
Added list(range(s)) -> range(s) to fix_range
joe.amenta
Fixed up the README a little bit to reflect the current state of the project.
joe.amenta
First release - 0.1 alpha 1
j...@joe-desktop
Making the imports fixers explicit for first alpha release.
joe.amenta
Name imports work more robustly now... but they are not perfect. In particular, they cross boundaries to determine what modules must be imported to gain the functionality of the requested module.
joe.amenta
Bugfixes for more complex use cases.
joe.amenta
Fixed transform docstring.
joe.amenta
Added a fix for class decorators.
joe.amenta
Fixer and tests added for function annotations
joe.amenta
fix_metaclass now takes a little care in indentation consistency for its suite if it is going to add one.
joe.amenta
from test import support -> import test.test_support as support
joe.amenta
Actually fixed the prefix problem this time.
joe.amenta
Fixed a prefix bug and the omission of urllib.parse -> urlparse Also, the fix_imports duo are failing fantastically at the py3k stdlib, so please, for the time being, don't use them in any environment where you cannot manually refactor imports.
joe.amenta
Much better import_name support, but still not "perfect". Some logic could be in place to prevent multiple adjacent import statements that resolve to the same python2.x name to show up in the final product.
joe.amenta
Added introductory support for name_imports in fix_imports2 (fix_imports modification was trivial to remove an extra newline)
joe.amenta
Added default, install, and test targets to the Makefile. Note that "test" will only test things that changed before "install" was last run.
joe.amenta
Stripped trailing spaces off of all lines. find . -name "*.py" -exec sed -i "s/ *$//" "{}" ";"
joe.amenta
Miscellaneous tidying, commenting, optimization, and "correctness" Thanks to Benjamin for pointing out most of these.
joe.amenta
Fixing a bug with parens Currently, parens are removed, and the node is reconstructed normally with the exception of prefixes: the prefixes for the names are not preserved, and are replaced with a single space, except for the first name: it inherits the lparen's prefix.
joe.amenta
minor "hotfix" for test.support
joe.amenta
big change: fix_imports handles "from dbm import gnu" and the like small change: adding barebones test cases for fix_imports2 small change: removing unnecessary variable from fix_imports2
joe.amenta
memoryview works in 2.7 and up, not 2.6 and up.
joe.amenta
fixer for division.
joe.amenta
Minor style change.
joe.amenta
Added reprlib -> repr to fix_imports, and caused fix_numliterals to more silently fail a match test under some cases fix_numliterals used to raise a SyntaxError if a literal was not in a recognized format. Now it returns 0.
joe.amenta
removing a line accidentally left in for debugging
joe.amenta
Hex literals don't need to be fixed.
joe.amenta
Added fix_itertools to properly handle map, filter, zip, and filterfalse Basically the backwards form of the 2to3 itertools fixes. Test cases are meager.
joe.amenta
Scrapping the eval, too frail. Using real dict-matching logic Searching the dictsetmaker node's direct children for a colon.
joe.amenta
Fixing a bug where the match didn't short circuit if the pattern didn't match.
  1. Prev
  2. Next