]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 28 May 2024 09:01:37 +0000 (12:01 +0300)
committerGitHub <noreply@github.com>
Tue, 28 May 2024 09:01:37 +0000 (12:01 +0300)
commitb313cc68d50de5fb5f43acffd402c5c4da6516fc
tree3d25305bb921d8e3748db524ec9267e65ecb242f
parentbf08f0a5fe5750904aa4a239945db16d2c43f6e7
gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631)
18 files changed:
Lib/test/clinic.test.c
Lib/test/test_ctypes/test_functions.py
Lib/test/test_ctypes/test_parameters.py
Lib/test/test_str.py
Misc/NEWS.d/next/Core and Builtins/2024-04-08-13-49-02.gh-issue-117558.9lSEpR.rst [new file with mode: 0644]
Modules/_ctypes/cfield.c
Modules/_cursesmodule.c
Modules/arraymodule.c
Modules/clinic/_testclinic.c.h
Modules/clinic/arraymodule.c.h
Modules/clinic/unicodedata.c.h
Modules/termios.c
Objects/bytesobject.c
Objects/stringlib/clinic/transmogrify.h.h
Objects/unicodeobject.c
PC/clinic/msvcrtmodule.c.h
Python/getargs.c
Tools/clinic/libclinic/converters.py