Skip to content
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

Replace raw_input() with input() #2803 #2804

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

Hooverdan96
Copy link
Member

Fixes #2803.

Replacing raw_input() function with input() instead.

Testing done in a test install manually replacing the commands.

@phillxnet
Copy link
Member

@Hooverdan96 Thanks for seeing to this. My apologies for missing this previously. And thanks for testing this substitution.

Quoting you here from your linked issue:

this function has been renamed to input() so the interpreted won't recognize the raw_input function name anymore.

https://peps.python.org/pep-3111/

Where the upstream reference states:

The existing raw_input() function will be renamed to input().

Merging as a consequence: as this looks like, as stated, a straight-forward omission in our Python 2.7 to now 3.11 work.

@phillxnet phillxnet changed the title Replace raw_input() with input() Replace raw_input() with input() #2803. Mar 13, 2024
@phillxnet phillxnet changed the title Replace raw_input() with input() #2803. Replace raw_input() with input() #2803 Mar 13, 2024
@phillxnet phillxnet merged commit d270ba2 into rockstor:testing Mar 13, 2024
@Hooverdan96 Hooverdan96 deleted the 2038_OpenVPN_script branch March 13, 2024 14:38
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.

2 participants