summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-01-10 13:07:19 (GMT)
committerGitHub <noreply@github.com>2024-01-10 13:07:19 (GMT)
commitb3d2427f2280fa8dae3515036c518d74ba43ebd1 (patch)
treee9fda1fdaf580c57ca6bda8c0d7e7bfc965f91d5 /Python/codecs.c
parenta8629816c6c0e6770248a60529fd7c9ba08aad55 (diff)
downloadcpython-b3d2427f2280fa8dae3515036c518d74ba43ebd1.zip
cpython-b3d2427f2280fa8dae3515036c518d74ba43ebd1.tar.gz
cpython-b3d2427f2280fa8dae3515036c518d74ba43ebd1.tar.bz2
gh-58032: Do not use argparse.FileType in module CLIs and scripts (GH-113649)
Open and close files manually. It prevents from leaking files, preliminary creation of output files, and accidental closing of stdin and stdout.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions