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

Remove Python 2 compatibility code #125

Open
patricksanders opened this issue Nov 19, 2020 · 0 comments
Open

Remove Python 2 compatibility code #125

patricksanders opened this issue Nov 19, 2020 · 0 comments
Milestone

Comments

@patricksanders
Copy link
Collaborator

We're no longer compatible with Python 2, so we can remove all of the compatibility workarounds.

For example:

try: # Python 2
raw_input
except NameError: # Python 3
raw_input = input
try: # Python 2
unicode
except NameError: # Python 3
unicode = str

This block can be removed and the code updated to use str and input.

@patricksanders patricksanders added this to the v1.0.0 milestone Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant