beniget
beniget copied to clipboard
Extract semantic information about static Python code
Fixes #45 Make Def, DefUseChains, UseDefChains and Ancestors work out of the box with both gast and ast without additional parameters and without changing the API of course.
I believe very little effort is needed to make it work on python3 with the `ast` module. Of course, this would only work on python3 for python3 ast. But compatibility...
https://peps.python.org/pep-0695/
Hi, I have been trying to perform a simple DefUse analysis on my code. Essentially, I just want to know for a given line of code, which other lines of...
I @serge-sans-paille, just wondering if you plan to release a new version on pypi soon? Thanks
Here are the warnings that beniget reports (with PEP563 enabled) when parsing the typeshed builtins module and all its dependencies. ``` W: unbound identifier '_ScandirIterator' at os:734:74 W: unbound identifier...
Found during a source build of an old version of `scipy`, which uses `beniget` transitively during the build process. Installed packages were: ```log ======== Resolution Result ======== Stable pins: python...
Having a job that does the pypi release is really helpful to ensure the process stays the same on the long run and no one forgets to tag or to...
…ing gast This should make it possible to derive from beniget to implement support for ast module in addition to gast module.
This attempt uses the `pkg()` function proposed in #101. This changes should probably be squashed since a lot of the commit messages are irrelevant. For the record: - Attempt 1...