Skip to content

py: redirect all debug output to stderr#3

Closed
bansiesta wants to merge 1 commit into
mainfrom
py/debug-to-stderr
Closed

py: redirect all debug output to stderr#3
bansiesta wants to merge 1 commit into
mainfrom
py/debug-to-stderr

Conversation

@bansiesta

Copy link
Copy Markdown
Owner

Redirects all diagnostic print() output in the Python SDK to stderr, so callers can use stdout for their own program output without capturing SDK noise.

Changes:

  • cmavsdk_loader.py — library search/load messages
  • logging.py — log callback error
  • All 27 generated plugin files — callback error messages
  • templates/file.py.j2 — so future codegen picks this up automatically

Allows callers to capture or process stdout cleanly, consistent with
Unix convention for informational/diagnostic output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bansiesta bansiesta closed this Jun 22, 2026
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