Skip to content

Conversation

@ambv
Copy link
Contributor

@ambv ambv commented Aug 1, 2025

Without this change, if a Python traceback is longer than 1020 bytes, the rest of it is truncated with a 3-byte <…> ellipsis at the end. This makes it hard to debug what actually happened as the exception message is at the bottom of the traceback.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvement!

Ironically, the macOS equivalent of this method was already doing the same thing - we evidently missed porting that update across.

@freakboy3742 freakboy3742 merged commit 813ceef into beeware:main Aug 2, 2025
6 checks passed
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.

2 participants