You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Looks like commit 796cd01 breaks connection if login contains non-ASCII symbols.
File "test_pg.py", line 118, in test_version
con = pg8000.native.Connection(**config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "venv/lib/python3.12/site-packages/pg8000/native.py", line 195, in __init__
super().__init__(*args, **kwargs)
File "venv/lib/python3.12/site-packages/pg8000/core.py", line 383, in __init__
self.message_types[code](_read(self._sock, data_len - 4), context)
File "venv/lib/python3.12/site-packages/pg8000/core.py", line 853, in handle_PARAMETER_STATUS
key, value = data[:pos].decode("ascii"), data[pos + 1 : -1].decode("ascii")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)
An parameter_statuses example from last working version 1.30.3:
Hello! Looks like commit 796cd01 breaks connection if login contains non-ASCII symbols.
An
parameter_statuses
example from last working version 1.30.3:The text was updated successfully, but these errors were encountered: