Skip to content

Cleanups for python3 #7

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

mbaldessari
Copy link

  • Allow use of python3
  • Make long and int the same on python3

Add a check and if python does not exist but python3 does, use that.
If neither is present, error out.

This is to ease the migration to python3 (see https://peps.python.org/pep-0394/)
See https://peps.python.org/pep-0237/. Long and int are the same length
on python3 (and long does not exist there any longer)
- Use four spaces instead of tabs
- Use 'is' for tests against None
- Run the whole file through the black linter
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.

1 participant