Skip to content

Fix crashing source-code execution example#14

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

Fix crashing source-code execution example#14
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-11bd

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 24, 2026

Summary

  • Fix load_mod_from_source_code.py so the executed source defines the printed value instead of referencing an undefined name.
  • Add a regression test that executes the example script and verifies its 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