Skip to content

[3.14] gh-159225: PyREPL input should not write to history (GH-159263) - #159370

Merged
pablogsal merged 1 commit into
python:3.14from
miss-islington:backport-6f92424-3.14
Oct 13, 2026
Merged

pablogsal merged 1 commit into
python:3.14from
miss-islington:backport-6f92424-3.14

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

Values entered in an input statement are not Python statements and thus the reader should suspend history recording when in input mode


(cherry picked from commit 6f92424)

Co-authored-by: Eduardo Villalpando Mello eduardovil@microsoft.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Pablo Galindo Salgado Pablogsal@gmail.com

…59263)

* pythongh-159225: PyREPL input should not write to history

Values entered in an input statement are not Python statements and thus the reader should suspend history recording when in input mode

* 📜🤖 Added by blurb_it.

* Remove comment

* Only suspend writing

* pythongh-159225: Cover input history isolation and interrupted reads

---------
(cherry picked from commit 6f92424)

Co-authored-by: Eduardo Villalpando Mello <eduardovil@microsoft.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
@pablogsal
pablogsal merged commit ae833ab into python:3.14 Oct 13, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-6f92424-3.14 branch October 13, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants