Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11 Debian dragonfly2 package broken #391

Open
dwks opened this issue Sep 8, 2024 · 1 comment
Open

Python 3.11 Debian dragonfly2 package broken #391

dwks opened this issue Sep 8, 2024 · 1 comment
Labels
Error Unexpected replicated behavior Known Issue Known by maintainers but not documented as an issue WIP Work in progress

Comments

@dwks
Copy link

dwks commented Sep 8, 2024

Hi, I see that this code supports multiple python versions
https://github.com/dictation-toolbox/dragonfly/blob/master/dragonfly/grammar/context.py#L392

but the dragonfly2 package I got on Debian (python 3.11 pip) had this line instead:

        (args, _, varkw, defaults) = inspect.getargspec(self._function)

I hacked it with

        (args, _, varkw, defaults, _, _, _) = inspect.getfullargspec(self._function)

which also worked. I would appreciate if you can update the Debian package (not sure who's responsible for that).

@drmfinlay
Copy link
Member

drmfinlay commented Sep 9, 2024 via email

@LexiconCode LexiconCode added Error Unexpected replicated behavior Known Issue Known by maintainers but not documented as an issue WIP Work in progress labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Unexpected replicated behavior Known Issue Known by maintainers but not documented as an issue WIP Work in progress
Projects
None yet
Development

No branches or pull requests

3 participants