| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
1c35a97 fixed Python 2 only print statements, and imported
a mix of __future__.print_function and __future__.print_statement.
1826d98 fixed most of them, however this one still remains.
|
| |\ |
|
| | | |
|
| |/
|
|
|
| |
Instead of logilab.common.shellutils.ProgressBar we use
astroid.node_classes.Name now.
|
| |
|
|
|
|
|
| |
This was moved since it is the only known client of this module.
No other change was made to the exported API. This doesn't go
through a normal deprecation cycle, since I really want to clean it up
at a faster pace.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
The first use of the AST peephole optimizer is the optimization of multiple
BinOp nodes. This removes recursivity in the rebuilder when dealing
with a lot of small strings joined by the
addition operator. which are
now precomputed to the final string. Closes issue #59.
|
|
|
Also modernized a lot of test code. This makes it possible to run the
tests from both the base directory of the project as well as the
astroid package.
Since the packages have the same name for Python 2 and 3, there is less
version-dependent code in the tests.
|