René's URL Explorer Experiment


Title: Port away from requests -> urllib3 for thread-safety. Resolves #144. by ShaheedHaque · Pull Request #258 · python-consul/python-consul · GitHub

Open Graph Title: Port away from requests -> urllib3 for thread-safety. Resolves #144. by ShaheedHaque · Pull Request #258 · python-consul/python-consul

X Title: Port away from requests -> urllib3 for thread-safety. Resolves #144. by ShaheedHaque · Pull Request #258 · python-consul/python-consul

Description: This is not yet ready to merge as I running some integration level tests with our software. The problems I reported in #144 were hard to reproduce, so I need to do a few runs before there is a reasonable chance that I can conclude all is well. In the meantime, I would appreciate feedback. It is worth noticing that the fix involves porting to urllib3>=1.25; that is because it is this version which introduces certificate checking as an option. I also note in passing that there is a Python3.7 compatibility issue which make it hard for me to get a clean run: /usr/lib/python3.7/ast.py:35: in parse return compile(source, filename, mode, PyCF_ONLY_AST) E File "/main/srhaque/kdedev/python-consul/tests/test_aio.py", line 77 E fut = asyncio.async(put(), loop=loop) E ^ E SyntaxError: invalid syntax so I have ignored that for now (these also show up as reserved word warning in 3.6).

Open Graph Description: This is not yet ready to merge as I running some integration level tests with our software. The problems I reported in #144 were hard to reproduce, so I need to do a few runs before there is a reas...

X Description: This is not yet ready to merge as I running some integration level tests with our software. The problems I reported in #144 were hard to reproduce, so I need to do a few runs before there is a reas...

Opengraph URL: https://github.com/python-consul/python-consul/pull/258

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e5925541-1851-a9e8-47ff-ca0edf8d2e39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE64:232A6D:7D8B0F:A34781:6976D8C0
html-safe-nonce9d870bd158e60cdfe90d23cd3585bce90ea1095d6060a4bef5170954ea5ec2aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTY0OjIzMkE2RDo3RDhCMEY6QTM0NzgxOjY5NzZEOEMwIiwidmlzaXRvcl9pZCI6IjgxNzgwMTI4ODMyMjk1MzAzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdde388dfb03eb8d171fa2db9aae9e836d8041aac20304300424ae7fc73892a11
hovercard-subject-tagpull_request:296609082
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-consul/python-consul/pull/258/files
twitter:imagehttps://avatars.githubusercontent.com/u/4881193?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4881193?s=400&v=4
og:image:altThis is not yet ready to merge as I running some integration level tests with our software. The problems I reported in #144 were hard to reproduce, so I need to do a few runs before there is a reas...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-consul/python-consul git https://github.com/python-consul/python-consul.git
octolytics-dimension-user_id143416393
octolytics-dimension-user_loginpython-consul
octolytics-dimension-repository_id24473148
octolytics-dimension-repository_nwopython-consul/python-consul
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24473148
octolytics-dimension-repository_network_root_nwopython-consul/python-consul
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-consul%2Fpython-consul%2Fpull%2F258%2Ffiles
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-consul%2Fpython-consul%2Fpull%2F258%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-consul%2Fpython-consul
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
python-consul https://patch-diff.githubusercontent.com/python-consul
python-consulhttps://patch-diff.githubusercontent.com/python-consul/python-consul
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Fork 218 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Star 460 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Code https://patch-diff.githubusercontent.com/python-consul/python-consul
Issues 60 https://patch-diff.githubusercontent.com/python-consul/python-consul/issues
Pull requests 30 https://patch-diff.githubusercontent.com/python-consul/python-consul/pulls
Actions https://patch-diff.githubusercontent.com/python-consul/python-consul/actions
Projects 0 https://patch-diff.githubusercontent.com/python-consul/python-consul/projects
Wiki https://patch-diff.githubusercontent.com/python-consul/python-consul/wiki
Security 0 https://patch-diff.githubusercontent.com/python-consul/python-consul/security
Insights https://patch-diff.githubusercontent.com/python-consul/python-consul/pulse
Code https://patch-diff.githubusercontent.com/python-consul/python-consul
Issues https://patch-diff.githubusercontent.com/python-consul/python-consul/issues
Pull requests https://patch-diff.githubusercontent.com/python-consul/python-consul/pulls
Actions https://patch-diff.githubusercontent.com/python-consul/python-consul/actions
Projects https://patch-diff.githubusercontent.com/python-consul/python-consul/projects
Wiki https://patch-diff.githubusercontent.com/python-consul/python-consul/wiki
Security https://patch-diff.githubusercontent.com/python-consul/python-consul/security
Insights https://patch-diff.githubusercontent.com/python-consul/python-consul/pulse
ShaheedHaquehttps://patch-diff.githubusercontent.com/ShaheedHaque
python-consul:masterhttps://patch-diff.githubusercontent.com/python-consul/python-consul/tree/master
ShaheedHaque:srh_make_consul_usage_threadsafehttps://patch-diff.githubusercontent.com/ShaheedHaque/python-consul/tree/srh_make_consul_usage_threadsafe
Conversation 2 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258
Commits 3 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/commits
Checks 0 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/checks
Files changed https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Port away from requests -> urllib3 for thread-safety. Resolves #144. https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#top
Show all changes 3 commits https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
8c03c0f Port away from requests -> urllib3 for thread-safety. Resolves #144. Jul 11, 2019 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/commits/8c03c0fa4ee645c1283166d4785f44f81dc3ed09
5194a57 Address linter issue. Jul 11, 2019 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/commits/5194a57cc5da266492d7380f9e7d86aec525c511
856d769 Get tests running at least for Python3.x. Jul 12, 2019 https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/commits/856d769716dd2d75f94d09e4807e2d0c4f13f018
Clear filters https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files
.travis.yml https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
std.py https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6664aaaaee63c4555a36fd9fe81400f885dd7fe3189fbbd923ffe4ef91790636
requirements.txt https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
setup.py https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
test_aio.py https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
tox.ini https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
.travis.ymlhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
consul/std.pyhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6664aaaaee63c4555a36fd9fe81400f885dd7fe3189fbbd923ffe4ef91790636
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/consul/std.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-6664aaaaee63c4555a36fd9fe81400f885dd7fe3189fbbd923ffe4ef91790636
requirements.txthttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
setup.pyhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/setup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
tests/test_aio.pyhttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/tests/test_aio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-614def4a76e1cf37e5de137c397dc920548ca7560707013fc38f3aea84603652
tox.inihttps://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
View file https://patch-diff.githubusercontent.com/python-consul/python-consul/blob/856d769716dd2d75f94d09e4807e2d0c4f13f018/tox.ini
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
https://patch-diff.githubusercontent.com/python-consul/python-consul/pull/258/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
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.