| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
On a narrow build, complexchar() of a multibyte character raises OverflowError, not ValueError. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
It was reported in #153396 (comment). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
test_complexchar errors on narrow curses builds under a multibyte (e.g. UTF-8) locale: complexchar('\xe9') raises OverflowError (the character has no single-byte cell) rather than ValueError, which the storable() helper did not catch, so the non-ASCII assertions raised instead of being skipped.
This surfaced as buildbot failures on Debian root and macOS after gh-153395; the OverflowError itself is long-standing behaviour of PyCurses_ConvertToChtype, not new.