Files
cpython/Modules
7d1b64bd9a [3.15] gh-153862: Fix curses window.inch() for non-ASCII characters on a wide build (GH-153863) (GH-154116)
On a wide build, winch() returns the low 8 bits of the character's code
point with no locale conversion, so inch()/mvinch() disagreed with instr()
for a non-ASCII character of an 8-bit locale ('€' under ISO-8859-15 gave
0xAC instead of 0xA4).  Re-encode the cell to its locale byte via wctob(),
as ncurses does for getbkgd().

(cherry picked from commit a83aaa9149)

Co-authored-by: Claude Opus 4.8 <[email protected]>
2026-07-19 12:46:08 +00:00
..

Source files for standard library extension modules,
and former extension modules that are now builtin modules.