~alejandrosame/KReKo#2: 
FoxDot: Fix getargspec upstream

inspect.getargspec got deprecated in Python 3.0 and finally removed in Python 3.11. Using Python 3.10 worked.

To prevent bitrot, it would be great to find a fix and upstream to the main FoxDot branch.

File "/nix/store/1jvr3alim3l4wy67mn97x2pv5wvgnjzf-python3.12-FoxDot_PitchGlitch-9702ad8e/lib/python3.12/site-packages/FoxDot/lib/Patterns/Main.py", line 61, in loop_pattern_method
    new_function.argspec = inspect.getargspec(f)
                           ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
Status
RESOLVED CLOSED
Submitter
~alejandrosame
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~alejandrosame 2 years ago

Test latest changes by iShapeNoise.

~alejandrosame REPORTED CLOSED 2 years ago

Changes by iShapeNoise fixed this issue.

Register here or Log in to comment, or comment via email.