Ankith

Results 267 comments of Ankith

Fixed merge conflicts in here. Was giving a final scroll and I noticed a few more typing issues

We have a feature freeze for 2.1.3, so it's in the 2.1.4 milestone for now

```py import os # needs to be set before importing pygame, or can also be set from shell # while calling the script os.environ["SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS"] = "1" import pygame [other code...

> I can also confirm that the environment variable doesn't work on it's own on Windows. Are you sure you are setting it *before* importing pygame and calling `pygame.init()`?

Instead of replacing the function, we should be using [`PyConfig.filesystem_encoding`](https://docs.python.org/3.12/c-api/init_config.html#c.PyConfig.filesystem_encoding) instead of the deprecated `Py_FileSystemDefaultEncoding`

I'm not sure a C compiler would do string interning on strings that are similar yet not the same (atleast I did not find anything online from a quick search)...

pushed this PR to 2.1.4 milestone because this needs more work and discussion

Hello! The `Self` type cannot be used because it's a python 3.11+ thing and pygame intends to support 3.6 and above ATM. However, this is a workaround for this, and...

I don't know, sorry