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

Chore: remove python 2 specific code #5040

Closed
8 tasks done
Rotzbua opened this issue Mar 15, 2024 · 0 comments · Fixed by #5063
Closed
8 tasks done

Chore: remove python 2 specific code #5040

Rotzbua opened this issue Mar 15, 2024 · 0 comments · Fixed by #5063

Comments

@Rotzbua
Copy link
Contributor

Rotzbua commented Mar 15, 2024

There are some EOL python 2 specific (compatibility) code left in the scripts which can be remove.

Example:

from __future__ import print_function

Tasks

  • remove compatibility imports
  • remove outdated imports
  • new classes declaration
  • update percent format
  • update format specifiers
  • simplify to yield from
  • redundant open modes
  • fix invalid escape sequences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants