18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 02:27:06 +01:00
Files
maszyna/scripting
maj00r 2a7a002bbc fix(python): a screen's own builtin names stay its own; the format call released
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.
2026-11-30 19:20:08 +01:00
..