erikrose / parsimonious

The fastest pure-Python PEG parser I can muster
MIT License
1.79k stars 126 forks source link

Update expressions.py #245

Closed RaduGeorgescu closed 3 weeks ago

RaduGeorgescu commented 3 weeks ago

in latests python and pip version of 03.07.2024 I discovered this issue File "..../lib/python3.12/site-packages/parsimonious/expressions.py", line 9, in from inspect import getargspec ImportError: cannot import name 'getargspec' from 'inspect' (..../lib/python3.12/inspect.py). Did you mean: 'getargs'? Replicated the error on both linux and windows environments. not sure if what I did fixed the problem, but for me it did the job

lucaswiman commented 2 weeks ago

Actually, getargspec was removed in 9a0d2e4fb6dad90d52f95aaed028e119514b9264, which has already been released.

@RaduGeorgescu Are you sure you're on the latest version of Parsimonious (0.10.0)?