serge-sans-paille / beniget

Extract semantic information about static Python code
BSD 3-Clause "New" or "Revised" License
69 stars 21 forks source link

Add support for Type Parameter Syntax (python 3.12) #82

Open tristanlatr opened 10 months ago

tristanlatr commented 10 months ago

https://peps.python.org/pep-0695/

tristanlatr commented 10 months ago

Here are the relevant parts of the specifications:

tristanlatr commented 10 months ago

I'm working on a patch.

tristanlatr commented 10 months ago

As if python scoping rules were not already complicated enough…

tristanlatr commented 3 weeks ago

Here is an implementation: https://github.com/serge-sans-paille/beniget/commit/1bce48d9b652b045c0c4d57730f898395d4c4c36