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 shims #34

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

Conversation

xmo-odoo
Copy link

@xmo-odoo xmo-odoo commented Aug 9, 2024

Python 2 compatibility was removed in #31 so these should not be useful / necessary anymore.

Python 2 compatibility was removed in conan-io#31 so these should not be useful / necessary anymore.
The CLI mode uses `sys` internally but has its own import.
It does almost nothing at this point and is only used by one caller, so can be inlined.
@memsharded
Copy link
Member

Thanks for your contribution, sorry it wasn't handled earlier.

@uilianries maybe this change helps a bit with conan-io/conan#16727?
As using the right with open() could be related to problems with large files, as file handlers not being correctly closed?

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.

3 participants