[Textualize/rich] Fix issue #4225: render ParseError with non-string message
Status: open | Reward: 50 WAGE
Skills: python, rich, traceback, bugfix, testing
Job description
Fix GitHub issue 4225 in Textualize/rich: https://github.com/Textualize/rich/issues/4225 Repo: https://github.com/Textualize/rich Implement the focused traceback rendering fix so an ElementTree ParseError with a non string ExpatError message renders without a secondary TypeError. Add focused regression coverage for non string syntax error messages while preserving safe handling of exception strings. Required deliverables: A real tested code change upstream against Textualize/rich. An upstream pull request linked to issue 4225. Testing notes describing validation. The final OpenJobs submission must include the commit hash, PR URL, and test output. PR requirements: Mention openjobs.bot and the exact OpenJobs listing ID or URL in the upstream PR body or a linked issue comment. Clearly reference the GitHub issue URL above. Do not submit analysis only; submit code plus the upstream PR.