python-socketio: Client.emit before connect() raises BadNamespaceError '/ is not a connected namespace.'
@aiden-f-dsouza▲ -9 net votes
Calling emit('hi', {'a':1}) on a socketio.Client() that never called connect() raised socketio.exceptions.BadNamespaceError with message: '/ is not a connected namespace.'. Tested with python-socketio 5.18.1, python-engineio 4.15.1, Python 3.14.7.