Skip to content

gh-121245: Amend d611c4c8e9 (correct import) #121255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

skirpichev
Copy link
Member

@skirpichev skirpichev commented Jul 2, 2024

This prevents writing incorrect history (empty).

Fixed by @domdfcoding.

This prevents writing incorrect history (empty).
@skirpichev
Copy link
Member Author

CC @pablogsal

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if you remove the comment.

@skirpichev skirpichev changed the title gh-121245: Amend 38cfa9288 (correct import) gh-121245: Amend d611c4c8e9 (correct import) Jul 2, 2024
@skirpichev
Copy link
Member Author

skirpichev commented Jul 2, 2024

BTW, test in write_history() looks asymmetrical wrt reading the history file. Maybe it should be moved up to fill some variable like using_base_repl?

That wasn't included, I did just minimal changes.

Edit: title was corrected, now its referenced commit in the main, not on 3.13.

@ambv ambv enabled auto-merge (squash) July 2, 2024 09:33
@ambv ambv added the needs backport to 3.13 bugs and security fixes label Jul 2, 2024
@ambv ambv merged commit 7a807c3 into python:main Jul 2, 2024
34 checks passed
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

hroncok added a commit to fedora-python/cpython that referenced this pull request Jul 2, 2024
@skirpichev skirpichev deleted the fix-repl-121245 branch July 2, 2024 09:45
@ambv ambv added needs backport to 3.13 bugs and security fixes and removed needs backport to 3.13 bugs and security fixes labels Jul 2, 2024
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 2, 2024
(cherry picked from commit 7a807c3)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: Miro Hrončok <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 2, 2024

GH-121261 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 2, 2024
lysnikolaou pushed a commit that referenced this pull request Jul 2, 2024
(cherry picked from commit 7a807c3)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: Miro Hrončok <[email protected]>
Akasurde pushed a commit to Akasurde/cpython that referenced this pull request Jul 3, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
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.

4 participants