bpo-8256: Fixed possible failing or crashing input() (#517) · MatthewPlemmons/cpython@c2cf128 · GitHub
Skip to content

Commit c2cf128

Browse files
bpo-8256: Fixed possible failing or crashing input() (python#517)
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
1 parent 4dadcd4 commit c2cf128

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)