Skip to content

Conversation

@devdanzin
Copy link
Member

@devdanzindevdanzin commented Jun 26, 2024

This PR adds a test for PYTHON_BASIC_REPL setting the interpreter to use the basic REPL, using a technique suggested by @AlexWaygood on Discord.

Copy link
Member

@lysnikolaoulysnikolaou left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @devdanzin!

@lysnikolaoulysnikolaou added needs backport to 3.13 bugs and security fixes topic-repl Related to the interactive shell labels Jun 26, 2024
Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

LGTM! Two tiny nits:

… working as expected. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@devdanzin
Copy link
MemberAuthor

Thank you Lysandros and Alex!

@AlexWaygoodAlexWaygood changed the title gh-121016: Test PYTHON_BASIC_REPLgh-121016: Add test for PYTHON_BASIC_REPL envioronment variableJun 26, 2024
@AlexWaygoodAlexWaygood enabled auto-merge (squash) June 26, 2024 09:59
@AlexWaygoodAlexWaygood merged commit 9e45fd9 into python:mainJun 26, 2024
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @devdanzin and @AlexWaygood, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 9e45fd9858a059950f7387b4fda2b00df0e8e537 3.13 

@AlexWaygood
Copy link
Member

@devdanzin, would you possibly be able to take care of the backport PR? If you're not familiar with the process, I can do it later

@devdanzin
Copy link
MemberAuthor

Thanks for merging!

@devdanzin, would you possibly be able to take care of the backport PR?

I'm not sure I can, I get "Permission denied" at the end of the process:

🐍 🍒 ⛏ Failed to push to origin ☹ branch backport-9e45fd9-3.13 has been deleted. Backport PR: [3.13] gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (GH-121017) (cherry picked from commit 9e45fd9858a059950f7387b4fda2b00df0e8e537) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com> remote: Permission to python/cpython.git denied to devdanzin. fatal: unable to access 'https://github.com/python/cpython.git/': The requested URL returned error: 403 

If the right way to do it is to push to my fork first, I can try it tonight. Otherwise, feel free to handle it.

@lysnikolaou
Copy link
Member

If the right way to do it is to push to my fork first, I can try it tonight. Otherwise, feel free to handle it.

That's the right way, yes. You can try it tonight, sure.

devdanzin added a commit to devdanzin/cpython that referenced this pull request Jun 26, 2024
devdanzin added a commit to devdanzin/cpython that referenced this pull request Jun 26, 2024
… variable (pythonGH-121017) (cherry picked from commit 9e45fd9) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
devdanzin added a commit to devdanzin/cpython that referenced this pull request Jun 26, 2024
devdanzin added a commit to devdanzin/cpython that referenced this pull request Jun 26, 2024
… variable (pythonGH-121017) (cherry picked from commit 9e45fd9) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Jun 26, 2024
AlexWaygood pushed a commit that referenced this pull request Jun 26, 2024
GH-121017) (#121064) * gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (#121017) (cherry picked from commit 9e45fd9) * [3.13] gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (GH-121017) (cherry picked from commit 9e45fd9) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstopic-replRelated to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@devdanzin@AlexWaygood@lysnikolaou@sobolevn