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 more Python 2 specific constructs #36

Open
JulienCochuyt opened this issue Jul 21, 2024 · 2 comments
Open

Remove more Python 2 specific constructs #36

JulienCochuyt opened this issue Jul 21, 2024 · 2 comments

Comments

@JulienCochuyt
Copy link
Member

JulienCochuyt commented Jul 21, 2024

Follow-up of 68417d4
As Python 2 support as been dropped, we can get rid of more of its specific constructs.
Eg. we still carry on unnecessary long forms of super calls all over the place. These could easily get rid of by a simple sed script as we do not have IIRC cases where we indeed need them.
We could actually attempt to pass the whole code base through 2to3.

I guess we should wait until work on PR #21 is over as the merge might not be trivial there.

@JulienCochuyt
Copy link
Member Author

super case actually done as of 4c1a80e and d2ead2a on for branch for PR #21.

Next: OrderedDict

@JulienCochuyt
Copy link
Member Author

There are also six imports remaining in many places.

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