Weekly Shaarli

All links of one week in a single page.

Week 13 (March 27, 2023)

Rumble in the House

Logo du jeu

Il y a quelques mois, j'ai partagé ici quelques variantes pour Rumble in the Dungeon, un très sympatique jeu de société pour 3 à 6 joueurs, basé sur le bluff, la déduction et le hasard.

Il existe une autre version de ce jeu, Rumble in the House, qui ne diffère …

__slots__ memory optimization in Python
Illustration from realpython.com

The other day, while working on fpdf2, I used @dataclass, a nice decorator that came in the standard library with Python 3.7, to quickly define a class that mostly stored data.

Then a question came to my mind: is the __slots__ memory optimization compatible with …