Francis Clairicia-Rose-Claire-Joséphine

Results 9 comments of Francis Clairicia-Rose-Claire-Joséphine

Okay so it can be a GNOME issue. Even after updating my system and restarting the computer, clearing my virtual env and reinstalling it, I always have this problem.

Yes I'll do that. I didn't think to test with the other 2.1.3 pre-releases and there is no issue with 2.1.3.dev6 (SDL 2.0.20).

Here is a screencast of the behaviour : https://drive.google.com/file/d/1MtcZYtJv7aKrw8donikvdLLYFLLhbEUE/view?usp=sharing

pygame 2.1.3.dev6 (SDL 2.0.20, Python 3.10.7)

Update : I have seen the new releases since 2.1.3, so I decided to try again with this version ``` pygame 2.4.0 (SDL 2.26.4, Python 3.11.2) ``` **The issue is...

Yes, this is what I want to say by "memory leak". I can send a PR. I will do it later.

I'm not sure to understand: where is the complexity? A decorator-based implementation will result in the same issue than `functools.lru_cache` and there will be much more complexity in the decorator...

@webknjaz This option seems good. The only drawback is that a `@cached_property` is writable, whereas `@property` is read-only by default. If that's OK with you, then I can make the...