Skip to content

Fix source code loader example crash#15

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-7a08
Draft

Fix source code loader example crash#15
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-7a08

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 25, 2026

Summary

  • Fix load_mod_from_source_code.py so its executed source assigns the literal value instead of referencing an undefined name.
  • Add a unittest subprocess regression test covering the example script output.

Validation

  • python3 source/load_mod_from_source_code.py
  • python3 -m unittest discover
Open in Web View Automation 

Co-authored-by: 0-coding <0-coding@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant