Skip to content

Fix #733: rework preset creation to no longer use eval/exec - #734

Open
Dragorn421 wants to merge 1 commit into
Fast-64:mainfrom
Dragorn421:fix_733
Open

Fix #733: rework preset creation to no longer use eval/exec#734
Dragorn421 wants to merge 1 commit into
Fast-64:mainfrom
Dragorn421:fix_733

Conversation

@Dragorn421

Copy link
Copy Markdown
Contributor

Blender 5.1 updates python to 3.13 which changed some semantics around exec() modifying locals.

Versioned code could have been used to do the simpler fix of doing exec(..., locals=locals()), but since modifying locals() in earlier versions of python had implementation-defined behavior we are better off just not even using exec nor eval at all.

Blender 5.1 updates python to 3.13 which changed some semantics around exec() modifying locals.

Versioned code could have been used to do the simpler fix of doing exec(..., locals=locals()),
but since modifying locals() in earlier versions of python had implementation-defined behavior
we are better off just not even using exec nor eval at all.
@Dragorn421 Dragorn421 added the bug Something isn't working label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant