ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
752 stars 911 forks source link

Fix get_type_and_topic_info() exception in Python3 #2259

Closed KindDragon closed 4 hours ago

KindDragon commented 2 years ago

Calling this function in Python 3 can produce the exception "TypeError: unhashable type: 'dict_keys'", we should use proper conversion to list to fix this exception