Repository navigation
Meta issue: clean up redundant compat code #100176
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Dec 11, 2022 - added a commit that references this issue
on Dec 12, 2022 - added a commit that references this issue
on Dec 14, 2022 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
- Reacted by Hugo van Kemenade
- added a commit that references this issue
on Feb 12, 2023 Please see PR #101853 to remove
Tools/{io,cc,string}bench- added a commit that references this issue
on Apr 8, 2023 - addedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
on Nov 28, 2023
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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