mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 03:37:09 +01:00
2a7a002bbc
After review of #561: - share_screen_names() skips the names of Python's builtins module, so a screen that defines its own max() or round() at module level no longer changes them for every other screen. - The comment of m_screenbuiltins says that the names are shared by reference as they are once their screen has loaded: a later rebinding (global in a method) stays with that screen, a change to a shared object doesn't. - The builtins of the screens are made with the first screen rather than in init(), which keeps init() as it was. - fetch_renderer() calls manul_set_format only on a renderer that was made, releases its result, and releases a renderer that failed there instead of leaking it.