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

Make doepy compatible with python<3.7 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sigmun
Copy link

@Sigmun Sigmun commented Dec 14, 2021

add file encoding in headers and use "".format() instead of f"" strings

add file encoding in headers and use "".format() instead of f"" strings
@JoshuaAdrianJones
Copy link

Could you wrap this in a conditional to check for python version rather than replacing a newer more pythonic version completely?

@Sigmun
Copy link
Author

Sigmun commented Jan 10, 2022

You'd rather have 2 lines for the same function just to deal with retro-compatibility than using the same function in every cases? I think you'll increase code maintenance load.

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.

2 participants