Skip to content

Fix source code loading example crash#9

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-correctness-bugs-ff5b
Draft

Fix source code loading example crash#9
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-correctness-bugs-ff5b

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 19, 2026

Summary

  • Fix the source-code loading example so the executed snippet assigns a literal instead of referencing an undefined name.
  • Add a unittest regression that runs the example script and verifies its output.

Validation

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

cursoragent and others added 2 commits May 19, 2026 11:08
Co-authored-by: 0-coding <0-coding@users.noreply.github.com>
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