Skip to content

Python 3.11 Debian dragonfly2 package broken #391

@dwks

Description

@dwks

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ErrorUnexpected replicated behaviorKnown IssueKnown by maintainers but not documented as an issueWIPWork in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions