Skip to content

Python 3.11 issue with productions.py: inspect.getargspec() -> inspect.getfullargspec() #19

Open

Description

@NoTime4Inertia

In line 21 and line 61 of productions.py, inspect.getargspec() is depreciated in Python 3.11. It must be changed to inspect.getfullargspec(); however, I think a different error results from that change, and I haven't had the chance to review it yet.

Activity

  1. asmaloney commented on Feb 8, 2023

    @asmaloney

    I have a commit from a couple of years ago that fixed this on the previous incarnation of this repository.

    It can probably be updated and applied if there's anybody still working on this project.

  2. asmaloney commented on Aug 4, 2023

    @asmaloney

    If you need to use Python 3.11+, my fork of python_actr seems to be working for my use cases.

    Here are the changes required to fix this getargspec issue.

  3. rlwest commented on Aug 5, 2023

    @rlwest
    Member
  4. asmaloney commented on Aug 5, 2023

    @asmaloney

    OK - if you are going to merge PRs, I'll make one for this issue.

  5. added a commit that references this issue on Aug 5, 2023
    d1324a9
  6. asmaloney commented on Aug 5, 2023

    @asmaloney

    @rlwest

    I’m travelling to the middle of the month but I will push all of them!!

    BTW - there's no "push" involved here. You just merge the PRs using the interface here on GitHub. If you go to a PR there's a green "Merge" (or similarly-named) button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions