pygame 2.0.0 (SDL 2.0.12, python 3.9.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
reposting <Event(4352-AudioDeviceAdded {'which': 0, 'iscapture': 0})>
reposting <Event(4352-AudioDeviceAdded {'which': 1, 'iscapture': 0})>
reposting <Event(4352-AudioDeviceAdded {'which': 0, 'iscapture': 1})>
reposting <Event(4352-AudioDeviceAdded {'which': 1, 'iscapture': 1})>
reposting <Event(512-WindowEvent {'event': 1, 'window': None})>
reposting <Event(32768-ActiveEvent {'gain': 1, 'state': 1, 'window': None})>
reposting <Event(512-WindowEvent {'event': 12, 'window': None})>
reposting <Event(770-TextEditing {'text': '', 'start': 0, 'length': 0, 'window': None})>
reposting <Event(32768-ActiveEvent {'gain': 1, 'state': 0, 'window': None})>
reposting <Event(512-WindowEvent {'event': 10, 'window': None})>
reposting <Event(1024-MouseMotion {'pos': (945, 226), 'rel': (0, 0), 'buttons': (0, 0, 0), 'window': None})>
reposting <Event(32768-ActiveEvent {'gain': 0, 'state': 0, 'window': None})>
reposting <Event(512-WindowEvent {'event': 11, 'window': None})>
reposting <Event(32768-ActiveEvent {'gain': 1, 'state': 0, 'window': None})>
reposting <Event(512-WindowEvent {'event': 10, 'window': None})>
reposting <Event(1024-MouseMotion {'pos': (945, 226), 'rel': (0, 0), 'buttons': (0, 0, 0), 'window': None})>
reposting <Event(32770-VideoExpose {})>
reposting <Event(512-WindowEvent {'event': 3, 'window': None})>
reposting <Event(768-KeyDown {'unicode': ' ', 'key': 32, 'mod': 4096, 'scancode': 44, 'window': None})>
reposting <Event(771-TextInput {'text': ' ', 'window': None})>
reposting <Event(769-KeyUp {'key': 32, 'mod': 4096, 'scancode': 44, 'window': None})>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xde in position 3: invalid continuation byte
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "bug.py", line 9, in <module>
events = pygame.event.get()
SystemError: <built-in function get> returned a result with an error set