Previously, it was possible to tag a NodePath tag with any type. However, only the string type is now possible. Maybe I’m missing something. or is it impossible now?
self.control = render.attachNewNode("Player control")
self.control.set_tag('name', 1)
TypeError: a bytes-like object is required, not 'int'
A quick check showed that
setPythonTag('name', 1)
does not have such restrictions.