A tool for writing Python AST-based refactorings

This is a tool that for writing AST-based refactorings for large Python codebases. It uses lib2to3 to convert source code to an AST, run a visitor over it that modifies the tree, and convert the tree back into source code. Read more

Similar

Python How Tos

Python HOWTOs are documents that cover a single, specific topic, and attempt to cover it fairly completely. Modelled on the Linux Documentation Project’s HOWTO collection, this collection is an eff... (more…)

Read more »

The fate of reduce() in Python 3000

About 12 years ago, Python aquired lambda, reduce(), filter() and map(), courtesy of (I believe) a Lisp hacker who missed them and submitted working patches. But, despite of the PR value, I think these features should be cut from Python 3000. ... (more…)

Read more »