René's URL Explorer Experiment


Title: gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 by hugovk · Pull Request #100197 · python/cpython · GitHub

Open Graph Title: gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 by hugovk · Pull Request #100197 · python/cpython

X Title: gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 by hugovk · Pull Request #100197 · python/cpython

Description: Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove these old compatibility checks. https://devguide.python.org/versions/ Also use f-strings and adjust some whitespa...

Open Graph Description: Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove these old compatibility checks. https://devguide.python.org/versions/ Also use f-strings and adjust some whitespa...

X Description: Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove these old compatibility checks. https://devguide.python.org/versions/ Also use f-strings and adjust some whitespa...

Opengraph URL: https://github.com/python/cpython/pull/100197

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a260dbbd-9dc1-bcc8-abc9-ec071404d930
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE530:57C20:16EE3D1:1EA0478:6969A917
html-safe-nonce7a00e1948b63ec99dfb99ec48aef37c1ab73ede6f8f004bd8589aa08bd99b166
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTMwOjU3QzIwOjE2RUUzRDE6MUVBMDQ3ODo2OTY5QTkxNyIsInZpc2l0b3JfaWQiOiIxODEwMzE3OTEwODk0ODE1NTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6f742c4aea50c66042b851851078a386b2a5a43b9959ee1b5c631a88c89be67c
hovercard-subject-tagpull_request:1160822098
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/100197/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4da9da3c17d1e94fd880411c6194083f21fad2f0ede48abe77354632ff0b933e/python/cpython/pull/100197
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4da9da3c17d1e94fd880411c6194083f21fad2f0ede48abe77354632ff0b933e/python/cpython/pull/100197
og:image:altPython 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove these old compatibility checks. https://devguide.python.org/versions/ Also use f-strings and adjust some whitespa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehugovk
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100197#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100197
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100197
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/100197
Reloadhttps://github.com/python/cpython/pull/100197
Reloadhttps://github.com/python/cpython/pull/100197
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100197
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/100197
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/100197#issue-comment-box
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:100176-tools-iobenchhttps://github.com/hugovk/cpython/tree/100176-tools-iobench
gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 https://github.com/python/cpython/pull/100197#top
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:100176-tools-iobenchhttps://github.com/hugovk/cpython/tree/100176-tools-iobench
Conversation 7 https://github.com/python/cpython/pull/100197
Commits 7 https://github.com/python/cpython/pull/100197/commits
Checks 0 https://github.com/python/cpython/pull/100197/checks
Files changed https://github.com/python/cpython/pull/100197/files
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Dec 12, 2022https://github.com/python/cpython/pull/100197#issue-1491847681
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://devguide.python.org/versions/https://devguide.python.org/versions/
@pitrouhttps://github.com/pitrou
a69ba65https://github.com/python/cpython/commit/a69ba65fdce3be6f55634b47cc56cf1f962f6cbc
Meta issue: clean up redundant compat code #100176https://github.com/python/cpython/issues/100176
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/hugovk
hugovkhttps://github.com/hugovk
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 12, 2022https://github.com/python/cpython/pull/100197#event-8014045319
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 12, 2022 https://github.com/python/cpython/pull/100197#ref-issue-1490438255
Meta issue: clean up redundant compat code #100176 https://github.com/python/cpython/issues/100176
https://github.com/apps/netlify
netlifyhttps://github.com/apps/netlify
Dec 12, 2022https://github.com/python/cpython/pull/100197#issuecomment-1346463842
Please reload this pagehttps://github.com/python/cpython/pull/100197
59f2f14https://github.com/python/cpython/commit/59f2f14c8e890fe932413c4426798fabbf8ef8d8
https://app.netlify.com/sites/python-cpython-preview/deploys/63972a48fa3a93000bfd01fbhttps://app.netlify.com/sites/python-cpython-preview/deploys/63972a48fa3a93000bfd01fb
https://deploy-preview-100197--python-cpython-preview.netlify.app/library/profilehttps://deploy-preview-100197--python-cpython-preview.netlify.app/library/profile
https://camo.githubusercontent.com/173ab5b583e9314473c791f10cbdf2ef546164a3fb1f5270fa8195542d9aa0b5/68747470733a2f2f6170702e6e65746c6966792e636f6d2f71722d636f64652f65794a30655841694f694a4b563151694c434a68624763694f694a49557a49314e694a392e65794a31636d77694f694a6f64485277637a6f764c32526c6347787665533177636d5632615756334c5445774d4445354e79307463486c30614739754c574e776558526f6232347463484a6c646d6c6c647935755a58527361575a354c6d467763434a392e662d37366a767544785f3070764a705766563873677a476c515f3456536547486c37596465365f54437359
Netlify site settingshttps://app.netlify.com/sites/python-cpython-preview/settings/deploys#deploy-notifications
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 12, 2022https://github.com/python/cpython/pull/100197#event-8014046423
hugovkhttps://github.com/hugovk
December 12, 2022 15:17https://github.com/python/cpython/pull/100197#commits-pushed-21105fc
https://github.com/hugovk
Remove compatibilty for Python < 3.3https://github.com/python/cpython/pull/100197/commits/21105fce8b5bc897d3000fb3aafd3ab094066813
21105fchttps://github.com/python/cpython/pull/100197/commits/21105fce8b5bc897d3000fb3aafd3ab094066813
https://github.com/hugovk
Remove compatibilty for Python 2https://github.com/python/cpython/pull/100197/commits/25663f3dab7214cf8229b2d2957ee9a18e2661e6
25663f3https://github.com/python/cpython/pull/100197/commits/25663f3dab7214cf8229b2d2957ee9a18e2661e6
https://github.com/hugovk
Remove compatibilty note for Python 2.6 and 3.0-3.6https://github.com/python/cpython/pull/100197/commits/e1dadc2f2a455f64498a533f57d1d7193ea23b93
e1dadc2https://github.com/python/cpython/pull/100197/commits/e1dadc2f2a455f64498a533f57d1d7193ea23b93
https://github.com/hugovk
Remove compatibilty for Python 2https://github.com/python/cpython/pull/100197/commits/1ee3e500b54f2b282bbe7f28827b959b4a0c7cb3
1ee3e50https://github.com/python/cpython/pull/100197/commits/1ee3e500b54f2b282bbe7f28827b959b4a0c7cb3
https://github.com/hugovk
Whitespace between functionshttps://github.com/python/cpython/pull/100197/commits/902f9a2c39652f136499c96385f19292c2ed6a70
902f9a2https://github.com/python/cpython/pull/100197/commits/902f9a2c39652f136499c96385f19292c2ed6a70
https://github.com/hugovk
Use f-stringshttps://github.com/python/cpython/pull/100197/commits/59f2f14c8e890fe932413c4426798fabbf8ef8d8
59f2f14https://github.com/python/cpython/pull/100197/commits/59f2f14c8e890fe932413c4426798fabbf8ef8d8
https://github.com/hugovk
hugovkhttps://github.com/hugovk
force-pushedhttps://github.com/python/cpython/compare/b080903dbc2103329389feda02d0382b874481ee..59f2f14c8e890fe932413c4426798fabbf8ef8d8
b080903https://github.com/python/cpython/commit/b080903dbc2103329389feda02d0382b874481ee
59f2f14https://github.com/python/cpython/commit/59f2f14c8e890fe932413c4426798fabbf8ef8d8
Compare https://github.com/python/cpython/compare/b080903dbc2103329389feda02d0382b874481ee..59f2f14c8e890fe932413c4426798fabbf8ef8d8
December 12, 2022 13:19https://github.com/python/cpython/pull/100197#event-8014156623
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Jan 30, 2023https://github.com/python/cpython/pull/100197#issuecomment-1408693514
https://discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557https://discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 30, 2023 https://github.com/python/cpython/pull/100197#pullrequestreview-1275258257
View reviewed changes https://github.com/python/cpython/pull/100197/files/59f2f14c8e890fe932413c4426798fabbf8ef8d8
Tools/iobench/iobench.pyhttps://github.com/python/cpython/pull/100197/files/59f2f14c8e890fe932413c4426798fabbf8ef8d8#diff-5eff628af7cf3e719190affb491b5c9caf1df95f7f5a2410db620957de9ae3e7
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/hugovk
https://github.com/AlexWaygood
Use builtin % formatterhttps://github.com/python/cpython/pull/100197/commits/3936f0d9e1d8c240ed38c8083c5f92c2aa460b0b
3936f0dhttps://github.com/python/cpython/pull/100197/commits/3936f0d9e1d8c240ed38c8083c5f92c2aa460b0b
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 30, 2023 https://github.com/python/cpython/pull/100197#pullrequestreview-1275286967
View reviewed changes https://github.com/python/cpython/pull/100197/files/3936f0d9e1d8c240ed38c8083c5f92c2aa460b0b
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/cpython/pull/100197#pullrequestreview-1275286967
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 30, 2023https://github.com/python/cpython/pull/100197#event-8388886381
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 12, 2023https://github.com/python/cpython/pull/100197#issuecomment-1427086299
Please reload this pagehttps://github.com/python/cpython/pull/100197
Meta issue: clean up redundant compat code #100176 (comment)https://github.com/python/cpython/issues/100176#issuecomment-1374752981
https://discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557https://discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557
gh-100176: Remove outdated Tools/{io,cc,string}bench #101853https://github.com/python/cpython/pull/101853
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 12, 2023 https://github.com/python/cpython/pull/100197#ref-pullrequest-1581343940
gh-100176: Remove outdated Tools/{io,cc,string}bench #101853 https://github.com/python/cpython/pull/101853
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 8, 2023https://github.com/python/cpython/pull/100197#issuecomment-1500830814
Meta issue: clean up redundant compat code #100176 (comment)https://github.com/python/cpython/issues/100176#issuecomment-1374752981
discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557https://discuss.python.org/t/do-we-still-need-tools-io-cc-string-bench/22557
gh-100176: Remove outdated Tools/{io,cc,string}bench #101853https://github.com/python/cpython/pull/101853
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/hugovk
hugovkhttps://github.com/hugovk
b22d021https://github.com/python/cpython/commit/b22d021ee6309f9b0d43e683056db84cfb6fd3c0
Apr 8, 2023https://github.com/python/cpython/pull/100197#event-8957386973
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 8, 2023https://github.com/python/cpython/pull/100197#event-8957387031
https://github.com/hugovk
hugovkhttps://github.com/hugovk
April 8, 2023 09:05https://github.com/python/cpython/pull/100197#event-8957387194
warsawhttps://github.com/warsaw
Apr 11, 2023 https://github.com/python/cpython/pull/100197#ref-commit-4dd2c5a
https://github.com/hugovk
https://github.com/AlexWaygood
https://github.com/warsaw
pythongh-100176https://github.com/python/cpython/issues/100176
: Tools/iobench: Remove redundant compat code for Pyth…https://github.com/warsaw/cpython/commit/4dd2c5a537547101b3afe4bfe7463746a33a7851
4dd2c5ahttps://github.com/warsaw/cpython/commit/4dd2c5a537547101b3afe4bfe7463746a33a7851
python#100197https://github.com/python/cpython/pull/100197
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100197
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/cpython/pull/100197/files/3936f0d9e1d8c240ed38c8083c5f92c2aa460b0b
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/100197
https://github.com/hugovk
https://github.com/AlexWaygood
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.