ros / executive_smach

A procedural python-based task execution framework with ROS integration.
Other
173 stars 141 forks source link

Fix Python 3.9 compatibility #82

Closed at-wat closed 1 year ago

at-wat commented 3 years ago

Thread.isAlive is removed on Python 3.9. Thread.is_alive is available since Python 2.6. ref: https://docs.python.org/2/library/threading.html#threading.Thread.isAlive

130s commented 1 year ago

Thank you for the suggestion. Looks like ROS-N targets Py3.8. https://www.ros.org/reps/rep-0003.html#noetic-ninjemys-may-2020-may-2025 Will this be compatible with 3.8?

at-wat commented 1 year ago

It's also compatible with py3.8: https://docs.python.org/3.8/library/threading.html#threading.Thread.is_alive

130s commented 1 year ago

Thank you for clarification and contribution.