aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/context.c
diff options
context:
space:
mode:
authorKushal Das <mail@kushaldas.in>2023-12-07 11:22:52 +0100
committerGitHub <noreply@github.com>2023-12-07 10:22:52 +0000
commit4ba15de19153bb97308996ec85242bdeda358387 (patch)
treed0d59d4ead8ea7e225ea578e4b4f50755c1fee4e /Python/context.c
parent8660fb7fd7cdcbfe58ef304f5720efe97ca7c842 (diff)
downloadcpython-4ba15de19153bb97308996ec85242bdeda358387.tar.gz
cpython-4ba15de19153bb97308996ec85242bdeda358387.zip
gh-74616: Raise ValueError in case of null character in input prompt (GH-1738)
If the input prompt to the builtin input function on terminal has any null character, then raise ValueError instead of silently truncating it. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions