[3.5] bpo-8256: Fixed possible failing or crashing input() (#642) · python/cpython@a16894e · GitHub
Skip to content

Commit a16894e

Browse files
[3.5] bpo-8256: Fixed possible failing or crashing input() (#642)
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings. (cherry picked from commit c2cf128)
1 parent a6aac8c commit a16894e

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions

Python/bltinmodule.c

Lines changed: 16 additions & 5 deletions

0 commit comments

Comments
 (0)