René's URL Explorer Experiment


Title: gh-91539: improve performance of get_proxies_environment by eendebakpt · Pull Request #91566 · python/cpython · GitHub

Open Graph Title: gh-91539: improve performance of get_proxies_environment by eendebakpt · Pull Request #91566 · python/cpython

X Title: gh-91539: improve performance of get_proxies_environment by eendebakpt · Pull Request #91566 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Improve performance of get_proxies_environment when there are many environment variables. Improvements depend on the number of environment variables, but the method is several times faster in this ...

X Description: Improve performance of get_proxies_environment when there are many environment variables. Improvements depend on the number of environment variables, but the method is several times faster in this ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:fd9825f7-3fb0-06a9-7d99-5b743c98d19e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC466:E839C:554164:76FF83:696A76E7
html-safe-nonce0b64575e9efce3b6856587ed10608c917e419d1114d6e01d972125a759b4d6f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDY2OkU4MzlDOjU1NDE2NDo3NkZGODM6Njk2QTc2RTciLCJ2aXNpdG9yX2lkIjoiMjM5NjAyNTU2ODg3Mjc4OTczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d890e10e1f886654f0c39c8501bb94aaecdc2c6cfbbaa3a842e1c05b6f4355a
hovercard-subject-tagpull_request:910787927
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/91566/commits
twitter:imagehttps://opengraph.githubassets.com/62154cbfae38b9664cddea22ff3b6fa83725bef864e72267c6888f6b668919af/python/cpython/pull/91566
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/62154cbfae38b9664cddea22ff3b6fa83725bef864e72267c6888f6b668919af/python/cpython/pull/91566
og:image:altImprove performance of get_proxies_environment when there are many environment variables. Improvements depend on the number of environment variables, but the method is several times faster in this ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
hostnamegithub.com
expected-hostnamegithub.com
Nonecfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d
turbo-cache-controlno-cache
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
release6a0b6893c221f98f607598e939299fdf5763435d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/91566/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F91566%2Fcommits
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%2F91566%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/91566/commits
Reloadhttps://github.com/python/cpython/pull/91566/commits
Reloadhttps://github.com/python/cpython/pull/91566/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/91566/commits
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/91566/commits
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
orsenthilhttps://github.com/orsenthil
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:performance/getproxies_environmenthttps://github.com/eendebakpt/cpython/tree/performance/getproxies_environment
Conversationhttps://github.com/python/cpython/pull/91566
Commits26 (26)https://github.com/python/cpython/pull/91566/commits
Checkshttps://github.com/python/cpython/pull/91566/checks
Files changedhttps://github.com/python/cpython/pull/91566/files
gh-91539: improve performance of get_proxies_environment https://github.com/python/cpython/pull/91566/commits#top
orsenthilhttps://github.com/orsenthil
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:performance/getproxies_environmenthttps://github.com/eendebakpt/cpython/tree/performance/getproxies_environment
improve performance of get_proxies_environment when there are many environment variableshttps://github.com/python/cpython/pull/91566/commits/42118e3c2b68243df00a6d9fd03cd4495f496210
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
42118e3https://github.com/python/cpython/pull/91566/commits/42118e3c2b68243df00a6d9fd03cd4495f496210
https://github.com/python/cpython/tree/42118e3c2b68243df00a6d9fd03cd4495f496210
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/91566/commits/37ff8d9fb0ed143842351dd23ccdb9f443289299
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
37ff8d9https://github.com/python/cpython/pull/91566/commits/37ff8d9fb0ed143842351dd23ccdb9f443289299
https://github.com/python/cpython/tree/37ff8d9fb0ed143842351dd23ccdb9f443289299
fix case of short env namehttps://github.com/python/cpython/pull/91566/commits/b8de96294e5c1b97f871266e4686318563bcf7cf
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
b8de962https://github.com/python/cpython/pull/91566/commits/b8de96294e5c1b97f871266e4686318563bcf7cf
https://github.com/python/cpython/tree/b8de96294e5c1b97f871266e4686318563bcf7cf
Merge branch 'performance/getproxies_environment' of githubeendebakpt:eendebakpt/cpython into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/0f90945f5b8e6deeebefd3e4ed5bbc72252ce04f
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
0f90945https://github.com/python/cpython/pull/91566/commits/0f90945f5b8e6deeebefd3e4ed5bbc72252ce04f
https://github.com/python/cpython/tree/0f90945f5b8e6deeebefd3e4ed5bbc72252ce04f
fix formattinghttps://github.com/python/cpython/pull/91566/commits/336da07d16351a16f34d1458c9eeec3bddcc8034
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
336da07https://github.com/python/cpython/pull/91566/commits/336da07d16351a16f34d1458c9eeec3bddcc8034
https://github.com/python/cpython/tree/336da07d16351a16f34d1458c9eeec3bddcc8034
fix whitespacehttps://github.com/python/cpython/pull/91566/commits/cabeb47cc0c556b0278704add666d1d52a751a5f
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
cabeb47https://github.com/python/cpython/pull/91566/commits/cabeb47cc0c556b0278704add666d1d52a751a5f
https://github.com/python/cpython/tree/cabeb47cc0c556b0278704add666d1d52a751a5f
whitespacehttps://github.com/python/cpython/pull/91566/commits/c58174891dc82c7f6a6bbe8a0a03d5b5087b9072
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
c581748https://github.com/python/cpython/pull/91566/commits/c58174891dc82c7f6a6bbe8a0a03d5b5087b9072
https://github.com/python/cpython/tree/c58174891dc82c7f6a6bbe8a0a03d5b5087b9072
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/421739626155b2addcded1b113299ebcd9c5c6c8
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
4217396https://github.com/python/cpython/pull/91566/commits/421739626155b2addcded1b113299ebcd9c5c6c8
https://github.com/python/cpython/tree/421739626155b2addcded1b113299ebcd9c5c6c8
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/0055604655d981525efa914d8c16a26eb2675953
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
0055604https://github.com/python/cpython/pull/91566/commits/0055604655d981525efa914d8c16a26eb2675953
https://github.com/python/cpython/tree/0055604655d981525efa914d8c16a26eb2675953
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/869fa9a558b261d8e7446c3c53a7a5d6eb35c5fe
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
869fa9ahttps://github.com/python/cpython/pull/91566/commits/869fa9a558b261d8e7446c3c53a7a5d6eb35c5fe
https://github.com/python/cpython/tree/869fa9a558b261d8e7446c3c53a7a5d6eb35c5fe
Update Lib/urllib/request.pyhttps://github.com/python/cpython/pull/91566/commits/dba04145c2e9dfb35f5794eeeeed882e460ceab7
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
dba0414https://github.com/python/cpython/pull/91566/commits/dba04145c2e9dfb35f5794eeeeed882e460ceab7
https://github.com/python/cpython/tree/dba04145c2e9dfb35f5794eeeeed882e460ceab7
Update Lib/urllib/request.pyhttps://github.com/python/cpython/pull/91566/commits/76f16ca13b4d7d793386c4fb3e0e66fcaf9ea9ec
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
76f16cahttps://github.com/python/cpython/pull/91566/commits/76f16ca13b4d7d793386c4fb3e0e66fcaf9ea9ec
https://github.com/python/cpython/tree/76f16ca13b4d7d793386c4fb3e0e66fcaf9ea9ec
Update Lib/urllib/request.pyhttps://github.com/python/cpython/pull/91566/commits/d3feb07e1d69255087f92b82fdafe7bc37855975
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
d3feb07https://github.com/python/cpython/pull/91566/commits/d3feb07e1d69255087f92b82fdafe7bc37855975
https://github.com/python/cpython/tree/d3feb07e1d69255087f92b82fdafe7bc37855975
Update Lib/urllib/request.pyhttps://github.com/python/cpython/pull/91566/commits/b9ab037c9ab6a046f5ef2c5db243841e11ffd134
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
b9ab037https://github.com/python/cpython/pull/91566/commits/b9ab037c9ab6a046f5ef2c5db243841e11ffd134
https://github.com/python/cpython/tree/b9ab037c9ab6a046f5ef2c5db243841e11ffd134
whitespacehttps://github.com/python/cpython/pull/91566/commits/f96150587daa573c819101aa361b6f7a677bb890
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
f961505https://github.com/python/cpython/pull/91566/commits/f96150587daa573c819101aa361b6f7a677bb890
https://github.com/python/cpython/tree/f96150587daa573c819101aa361b6f7a677bb890
Update Misc/NEWS.d/next/Library/2022-04-15-11-29-38.gh-issue-91539.7WgVuA.rsthttps://github.com/python/cpython/pull/91566/commits/36e5497a9f6d1dcda4d2a7b1ed851e8be0bd31af
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
36e5497https://github.com/python/cpython/pull/91566/commits/36e5497a9f6d1dcda4d2a7b1ed851e8be0bd31af
https://github.com/python/cpython/tree/36e5497a9f6d1dcda4d2a7b1ed851e8be0bd31af
Update Lib/urllib/request.pyhttps://github.com/python/cpython/pull/91566/commits/ca4fbd40b31d01f657ebfda3979d050afb7505d6
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
carljmhttps://github.com/python/cpython/commits?author=carljm
ca4fbd4https://github.com/python/cpython/pull/91566/commits/ca4fbd40b31d01f657ebfda3979d050afb7505d6
https://github.com/python/cpython/tree/ca4fbd40b31d01f657ebfda3979d050afb7505d6
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/77cceabc6a6393c75a99e99574d57392e15bced2
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
77cceabhttps://github.com/python/cpython/pull/91566/commits/77cceabc6a6393c75a99e99574d57392e15bced2
https://github.com/python/cpython/tree/77cceabc6a6393c75a99e99574d57392e15bced2
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/9687ebb7c96d1e7b4b94dd129de17d0a61b0e6f6
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
9687ebbhttps://github.com/python/cpython/pull/91566/commits/9687ebb7c96d1e7b4b94dd129de17d0a61b0e6f6
https://github.com/python/cpython/tree/9687ebb7c96d1e7b4b94dd129de17d0a61b0e6f6
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/3bf6f63d15a52917b675a9cd9170ad7855239168
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
3bf6f63https://github.com/python/cpython/pull/91566/commits/3bf6f63d15a52917b675a9cd9170ad7855239168
https://github.com/python/cpython/tree/3bf6f63d15a52917b675a9cd9170ad7855239168
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/fc36faa21a4e28c3f77a7587cf26e51b6c163492
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
fc36faahttps://github.com/python/cpython/pull/91566/commits/fc36faa21a4e28c3f77a7587cf26e51b6c163492
https://github.com/python/cpython/tree/fc36faa21a4e28c3f77a7587cf26e51b6c163492
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/b6d866f88e0138d94c9844a05de79df60a51b860
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
b6d866fhttps://github.com/python/cpython/pull/91566/commits/b6d866f88e0138d94c9844a05de79df60a51b860
https://github.com/python/cpython/tree/b6d866f88e0138d94c9844a05de79df60a51b860
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/f40e0dc9965388483b7eb676b3703974d979a98f
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
f40e0dchttps://github.com/python/cpython/pull/91566/commits/f40e0dc9965388483b7eb676b3703974d979a98f
https://github.com/python/cpython/tree/f40e0dc9965388483b7eb676b3703974d979a98f
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/41410daadf0809989618f7a09507ba49a439957f
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
41410dahttps://github.com/python/cpython/pull/91566/commits/41410daadf0809989618f7a09507ba49a439957f
https://github.com/python/cpython/tree/41410daadf0809989618f7a09507ba49a439957f
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/41b72c62a6fe0002e484dd531604e479c38cf030
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
41b72c6https://github.com/python/cpython/pull/91566/commits/41b72c62a6fe0002e484dd531604e479c38cf030
https://github.com/python/cpython/tree/41b72c62a6fe0002e484dd531604e479c38cf030
Merge branch 'main' into performance/getproxies_environmenthttps://github.com/python/cpython/pull/91566/commits/9db11030dff87d4bb6fe12bd41011754bdaf2aa2
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
9db1103https://github.com/python/cpython/pull/91566/commits/9db11030dff87d4bb6fe12bd41011754bdaf2aa2
https://github.com/python/cpython/tree/9db11030dff87d4bb6fe12bd41011754bdaf2aa2
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.