You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the "class TrafficLightMachine(StateMachine)" example from https://github.com/fgmacedo/python-statemachine.
It shows "module 'inspect' has no attribute 'getargspec'" when it is creating an instance(traffic_light = TrafficLightMachine())
What I Did
Exception has occurred: AttributeError
module 'inspect' has no attribute 'getargspec'
File "..........\Projects\trafficLight.py", line 31, in <module>
traffic_light = TrafficLightMachine()
The text was updated successfully, but these errors were encountered:
*January 12, 2023*
StateMachine 1.0.2 fixes a regression bug blocking the library usage on
Python 3.11.
- Fixes
[#316](#316) a bad
import of 'inspect.getargspec' that was removed on Python 3.11,
still backwards compatible with older versions.
Description
I am running the "class TrafficLightMachine(StateMachine)" example from https://github.com/fgmacedo/python-statemachine.
It shows "module 'inspect' has no attribute 'getargspec'" when it is creating an instance(traffic_light = TrafficLightMachine())
What I Did
The text was updated successfully, but these errors were encountered: