IBM / pyflowgraph

Flow graphs for Python
Apache License 2.0
25 stars 8 forks source link

Reimplement the tracer using AST rewriting #15

Closed epatters closed 5 years ago

epatters commented 5 years ago

Implements #13 and fixes the bugs #10, #11, and #12. The only regression is a failing integration test, documented in #14. I will address that in a later PR.

This PR is a significant first step towards increasing the robustness and reliability of Python flow graphs. It opens the door to more sophisticated AST transformations for capturing control flow and fixing other fidelity problems, which I have yet to document in the issues.