Technologicat / pyan

Static call graph generator. The official Python 3 version. Development repo.
GNU General Public License v2.0
323 stars 56 forks source link

fix bugs related to get_module_name and resolve_imports #97

Open CannedFish opened 4 weeks ago

CannedFish commented 4 weeks ago

get_module_name

Will replace all .py in a path like /path/to/wheel-0.37.1-py2.py3-none-any/wheel/**/*.py, which will make files can't be found from a wrong path (/path/to/wheel-0.37.1-py23-none-any/wheel/**/*).

resolve_imports

Will raise a KeyError sometimes.