astroid
astroid copied to clipboard
Draft a plan for having control flow understanding in astroid
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)
- Bitbucket: https://bitbucket.org/logilab/astroid/issue/213
Having at least a basic & limited understanding of if..else... statement for variable (non-) assignment would help pylint a lot to catch unassigned variables
hi, any news about this? this would enable skipping code based on global flags
@dpinol sadly nobody had time to work on this.
I became curious how the support will evolve further also for this software area.
:thought_balloon: Other information sources are providing additional ideas.
- Article “The Python Control Flow Graph” by Rahul Gopinath
- Article “Analyzing control flow in Python”