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

Support both python 2 and 3 #523

Closed
wants to merge 1 commit into from
Closed

Conversation

corpnewt
Copy link
Contributor

f-strings are python 3 only. This commit uses .format() instead which works on both python 2 and 3. The shebang remains python3 as that's preferred.

f-strings are python 3 only.  This commit uses .format() instead which works on both python 2 and 3.  The shebang remains python3 as that's preferred.
@vit9696
Copy link
Contributor

vit9696 commented Feb 27, 2024

Where do we need Python 2? Transition to Python 3 was intended.

@corpnewt
Copy link
Contributor Author

I had worked with a user recently who was intending to download 10.7 on a machine currently running Vista - which they were unable to install python 3 to. The changes in this PR don't affect python 3's functionality - but don't exclude python 2 support.

@vit9696
Copy link
Contributor

vit9696 commented Mar 1, 2024

Not sure we want to support this really. The change makes the code less readable. Sorry.

@vit9696 vit9696 closed this Mar 1, 2024
@corpnewt
Copy link
Contributor Author

corpnewt commented Mar 1, 2024

Not a problem. Thank you for looking at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants