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

Move compatibility modules into a compat package. #4212

Merged
merged 3 commits into from Feb 8, 2024

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Feb 8, 2024

  • Create compat module.
  • Move Python 3.10 compatibility into compat module.
  • Move Python 3.11 compatibility into compat module.

Summary of changes

Note that the names of the modules change to reflect the version of Python that requires the legacy behavior, e.g. "py310" to support compatibility with Python 3.10 and earlier. I find this naming works better because it signals when that code can be removed. For example, when Python 3.10 support is dropped, the module "py310" will stick out as removable debt.

@jaraco jaraco merged commit c0fd10e into main Feb 8, 2024
36 checks passed
@jaraco jaraco deleted the refactor/compat-module branch February 8, 2024 18:06
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.

None yet

1 participant