NodePath and setTag()

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.

Was it ever possible to use set_tag with an integer, or are you mixing this up with set_python_tag? Which Panda version was this possible in?

Perhaps I used setPythonTag, and after a while I confused them. So both are mentioned in the manual.