Skip to content

Meta issue: clean up redundant compat code #100176

Description

@hugovk

Bug report

There's several places that have compatibility code for EOL and unsupported Python versions.

We can modernise the code by removing the obsolete bits.

I'll open separate PRs to keep the changes focused by area, and intend to use this meta issue for them all (but can also open separate issues if preferred).

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Dec 11, 2022
  2. added a commit that references this issue on Dec 11, 2022
  3. added a commit that references this issue on Dec 12, 2022
  4. added a commit that references this issue on Dec 12, 2022
  5. added a commit that references this issue on Dec 12, 2022
  6. added a commit that references this issue on Dec 14, 2022
  7. self-assigned this
    on Dec 14, 2022
  8. added a commit that references this issue on Dec 14, 2022
  9. sobolevn commented on Jan 8, 2023

    @sobolevn
    Member

    While looking at this, I got interested: do we even need https://github.com/python/cpython/blame/main/Tools/stringbench/stringbench.py ? It has some python2/3 compat code and the last changes to it was 10 years ago. It is clearly not up-to-date. I will raise this question on discuss.python.org

  10. sobolevn commented on Jan 8, 2023

    @sobolevn
    Member
  11. added a commit that references this issue on Feb 12, 2023
  12. hugovk commented on Feb 12, 2023

    @hugovk
    MemberAuthor

    Please see PR #101853 to remove Tools/{io,cc,string}bench

  13. added a commit that references this issue on Apr 8, 2023
  14. added a commit that references this issue on Apr 11, 2023
  15. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Nov 28, 2023
  16. added a commit that references this issue on Feb 17, 2024
  17. added a commit that references this issue on Mar 4, 2024
  18. added a commit that references this issue on Apr 17, 2024
  19. added a commit that references this issue on Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions