René's URL Explorer Experiment


Title: fix(util): tolerate deleted temporary environment variables by Abedyn · Pull Request #2340 · gitpython-developers/GitPython · GitHub

Open Graph Title: fix(util): tolerate deleted temporary environment variables by Abedyn · Pull Request #2340 · gitpython-developers/GitPython

X Title: fix(util): tolerate deleted temporary environment variables by Abedyn · Pull Request #2340 · gitpython-developers/GitPython

Description: GitPython is a python library used to interact with Git repositories. - fix(util): tolerate deleted temporary environment variables by Abedyn · Pull Request #2340 · gitpython-developers/GitPython

Open Graph Description: patch_env() raises KeyError on exit if its variable was originally absent and the context body deletes it. If the body also raises an exception, the cleanup error masks that exception. Use os.envir...

X Description: patch_env() raises KeyError on exit if its variable was originally absent and the context body deletes it. If the body also raises an exception, the cleanup error masks that exception. Use os.envir...

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2340

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:cfeb8669-3004-606d-b259-606dc1427545
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7D2:842EC:148740:1C54FE:6B00BCF2
html-safe-noncea385707b8bca591e1b5f8abf6811ce6877e0837ae4ab10e9752158569112d818
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0QyOjg0MkVDOjE0ODc0MDoxQzU0RkU6NkIwMEJDRjIiLCJ2aXNpdG9yX2lkIjoiOTE4OTQ2MDk4NjkyNTQ2NDgxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccd8ad72b965da8afacee306eb4b670e608884ecf027892cc4544977c1bdd40fa
hovercard-subject-tagpull_request:5157566969
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/gitpython-developers/GitPython/2340/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/29731bc0cb480ffb244f0ec4c886952c7e4edd1fcec39be508aef9a9fcf99c29/gitpython-developers/GitPython/pull/2340
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29731bc0cb480ffb244f0ec4c886952c7e4edd1fcec39be508aef9a9fcf99c29/gitpython-developers/GitPython/pull/2340
og:image:altpatch_env() raises KeyError on exit if its variable was originally absent and the context body deletes it. If the body also raises an exception, the cleanup error masks that exception. Use os.envir...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbedyn
hostnamegithub.com
expected-hostnamegithub.com
None1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2
turbo-cache-controlno-cache
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
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
release5429cbfc6aca8c7b9a086a3c8f47400346f38cc9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/2340#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2340
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2340
Sign uphttps://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=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340
gitpython-developershttps://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Codehttps://github.com/gitpython-developers/GitPython
Issues1 (1)https://github.com/gitpython-developers/GitPython/issues
Pull requestshttps://github.com/gitpython-developers/GitPython/pulls
Discussionshttps://github.com/gitpython-developers/GitPython/discussions
Actionshttps://github.com/gitpython-developers/GitPython/actions
Security and quality42 (42)https://github.com/gitpython-developers/GitPython/security
Insightshttps://github.com/gitpython-developers/GitPython/insights
https://github.com/gitpython-developers/GitPython
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
Abedyn:fix/patch-env-deleted-variablehttps://github.com/Abedyn/GitPython/tree/fix/patch-env-deleted-variable
Conversationhttps://github.com/gitpython-developers/GitPython/pull/2340
Commits2 (2)https://github.com/gitpython-developers/GitPython/pull/2340/commits
Checkshttps://github.com/gitpython-developers/GitPython/pull/2340/checks
Files changedhttps://github.com/gitpython-developers/GitPython/pull/2340/files
fix(util): tolerate deleted temporary environment variableshttps://github.com/gitpython-developers/GitPython/pull/2340#top
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
Abedyn:fix/patch-env-deleted-variablehttps://github.com/Abedyn/GitPython/tree/fix/patch-env-deleted-variable
https://github.com/Abedyn
Abedynhttps://github.com/Abedyn
Nov 4, 2026https://github.com/gitpython-developers/GitPython/pull/2340#issue-6206622117
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340
https://github.com/Abedyn
fix(util): tolerate deleted temporary environment variableshttps://github.com/gitpython-developers/GitPython/pull/2340/commits/e52b7f8ed03196aa911f37128b36b0d89e9927e1
e52b7f8https://github.com/gitpython-developers/GitPython/pull/2340/commits/e52b7f8ed03196aa911f37128b36b0d89e9927e1
https://github.com/Byron
Byronhttps://github.com/Byron
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 4, 2026 17:55https://github.com/gitpython-developers/GitPython/pull/2340#event-35158225323
started reviewinghttps://github.com/gitpython-developers/GitPython/sessions/c1b3193d-0d6c-4083-a9e5-240295f259d1
Byronhttps://github.com/Byron
November 4, 2026 17:56https://github.com/gitpython-developers/GitPython/pull/2340#event-35158277232
View session https://github.com/gitpython-developers/GitPython/sessions/c1b3193d-0d6c-4083-a9e5-240295f259d1
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 4, 2026 https://github.com/gitpython-developers/GitPython/pull/2340#pullrequestreview-5773180567
View reviewed changes https://github.com/gitpython-developers/GitPython/pull/2340/files/e52b7f8ed03196aa911f37128b36b0d89e9927e1
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/gitpython-developers/GitPython/pull/2340#pullrequestreview-5773180567
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340
https://github.com/Byron
reviewhttps://github.com/gitpython-developers/GitPython/pull/2340/commits/32b4d8e7005eee2b5e927adf5dc9151e8b34001a
32b4d8ehttps://github.com/gitpython-developers/GitPython/pull/2340/commits/32b4d8e7005eee2b5e927adf5dc9151e8b34001a
https://github.com/Byron
Byronhttps://github.com/Byron
f6db6e7https://github.com/gitpython-developers/GitPython/commit/f6db6e76357d70c7bba7edcae90aab0a386c2d87
Nov 5, 2026https://github.com/gitpython-developers/GitPython/pull/2340#event-35206128957
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340
https://github.com/Byron
Byronhttps://github.com/Byron
Nov 5, 2026 https://github.com/gitpython-developers/GitPython/pull/2340#ref-pullrequest-6218706976
test: isolate repository fixtures and restore Windows reference coverage #2341 https://github.com/gitpython-developers/GitPython/pull/2341
Byronhttps://github.com/Byron
Nov 5, 2026 https://github.com/gitpython-developers/GitPython/pull/2340#ref-commit-9bfb816
https://github.com/Byron
https://github.com/codex
test(refs): use POSIX paths for Git reference nameshttps://github.com/gitpython-developers/GitPython/commit/9bfb8164ea2f305dbc9976e348578f5a0660dcee
9bfb816https://github.com/gitpython-developers/GitPython/commit/9bfb8164ea2f305dbc9976e348578f5a0660dcee
#2336https://github.com/gitpython-developers/GitPython/pull/2336
#2340https://github.com/gitpython-developers/GitPython/pull/2340
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2340
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/gitpython-developers/GitPython/pull/2340/files/e52b7f8ed03196aa911f37128b36b0d89e9927e1
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340
https://github.com/Abedyn
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/Byron
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.