Juha Jeronen
Juha Jeronen
Yes, why not. If you're familiar with how to do that, go ahead :)
Eh, there's also `ast.Constant`, to replace the old constant types (`Num`, `Str`, `Bytes`, `NameConstant`, `Ellipsis`). Python 3.6 already has `ast.Constant`, but doesn't use it; Python 3.8 changes the compiler to...
@jdb78: good to know, thanks. In other news, for 3.8, we should also add support for `__pypackages__` ([PEP 582 - Python local packages directory](https://www.python.org/dev/peps/pep-0582/)). The `__pypackages__` directory itself needs to...
Heads-up for 3.9: the AST format has changed again. As of February 2021, this isn't yet documented in GTS. Particularly, at least `ast.Subscript` now no longer has `ast.Index` and `ast.ExtSlice`...
No other AST changes in 3.9 or 3.10... except the new source location fields (`end_lineno`, `end_col_offset`), which we don't need here.
Thank you for the kind words. Pyan is a static analyzer, so by design, it has no concept of temporal ordering. I think the pythonic thing to do is to...
Thanks for filing the request to the issue tracker! **Scroll to the end for current workarounds.** The suggested feature would allow specifying just one .py file for Pyan to act...
Hmm, maybe no need to build this from scratch. The [jedi](https://github.com/davidhalter/jedi) library could be useful. Judging by `anaconda-mode-find-definitions` (see [anaconda-mode](https://github.com/proofit404/anaconda-mode) for Emacs), it's a real jedi at finding the relevant...
Also, there is now an import analyzer in `modvis.py`.
Thanks for the comments! To begin with, I forgot some action items: - There's significant duplication between the `main` function in `main.py` and `create_callgraph` in `__init__.py`. This should be ["dried"](https://en.wikipedia.org/wiki/Don't_repeat_yourself)...