This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: input() with malformed input stream triggers assertion failure
Type: Stage: patch review
Components: Interpreter Core, Library (Lib) Versions: Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: tekknolagi
Priority: normal Keywords: patch

Created on 2020-05-15 22:17 by tekknolagi, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 20125 open tekknolagi, 2020-05-15 22:18
Messages (1)
msg368982 - (view) Author: Maxwell Bernstein (tekknolagi) * Date: 2020-05-15 22:17
builtin_input_impl does multiple attribute lookups in a row assuming they will succeed, but part of attribute lookup assumes that there is no pending exception.

I propose doing the lookups one by one and checking for an error after each. There is an upcoming patch.
History
Date User Action Args
2022-04-11 14:59:31adminsetgithub: 84818
2020-05-15 22:18:33tekknolagisetkeywords: + patch
stage: patch review
pull_requests: + pull_request19430
2020-05-15 22:17:06tekknolagicreate