+
Skip to content

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载