Files
test2/source/blender
Campbell Barton bcda667d37 Fix crash executing a script when sys.modules doesn't contain __main__
While in practice sys.modules has __main__ module, the purpose of
PyC_MainModule_Backup/Restore is to temporarily override __main__.

Running code outside of the text editor (callbacks for timers for e.g.)
could remove the __main__ module which would then crash when running
a script from the text editor.
2023-09-15 12:23:41 +10:00
..
2023-09-12 10:29:10 +02:00
2023-09-13 02:25:03 +02:00
2023-09-08 23:09:51 +10:00
2023-08-24 11:38:41 +10:00