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/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:687b6ade-e235-c4ef-614c-edd567ee058b
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idC4F0:2D96F1:1E6254:294C8B:6B00BF4E
html-safe-noncef21ffc24812dc50bf7b97f8909d0837c0be0ab677932be8debaed68e04712ccd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEYwOjJEOTZGMToxRTYyNTQ6Mjk0QzhCOjZCMDBCRjRFIiwidmlzaXRvcl9pZCI6IjQ1MjM5ODkxMDA2MTcyMzQ3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8e9b5146d08c0750eceb492fb4559eda0edc3592323dfe7d48a4d98c477c9659
hovercard-subject-tagpull_request:5157566969
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/2340/checks
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
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
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
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/2340/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2340%2Fchecks
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%2Fchecks
Sign uphttps://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%2Fchecks&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340/checks
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340/checks
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2340/checks
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/checks#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
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2340/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2340%2Fchecks
Lint on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764021
lint https://github.com/gitpython-developers/GitPython/actions/runs/41964764021/job/127039099933?pr=2340
check-no-persist-credentials https://github.com/gitpython-developers/GitPython/actions/runs/41964764021/job/127039100345?pr=2340
import-cygwin on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764008
test https://github.com/gitpython-developers/GitPython/actions/runs/41964764008/job/127039100008?pr=2340
zizmor on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764012
zizmor https://github.com/gitpython-developers/GitPython/actions/runs/41964764012/job/127039099997?pr=2340
Minimum Git CLI on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764019
git-2-52 https://github.com/gitpython-developers/GitPython/actions/runs/41964764019/job/127039099960?pr=2340
Python package on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764043
test (ubuntu, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101067?pr=2340
test (ubuntu, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101384?pr=2340
test (ubuntu, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101355?pr=2340
test (ubuntu, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101217?pr=2340
test (ubuntu, 3.14t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101251?pr=2340
test (ubuntu, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101281?pr=2340
test (ubuntu, 3.15t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101321?pr=2340
test (macos, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101408?pr=2340
test (macos, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101240?pr=2340
test (macos, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101461?pr=2340
test (macos, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101264?pr=2340
test (macos, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101303?pr=2340
test (windows, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101562?pr=2340
test (windows, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101538?pr=2340
test (windows, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101563?pr=2340
test (windows, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101568?pr=2340
test (windows, 3.14t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101610?pr=2340
test (windows, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101528?pr=2340
test (windows, 3.15t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101460?pr=2340
test (ubuntu, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101475?pr=2340
test (macos, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101498?pr=2340
test (windows, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101437?pr=2340
install/import (ubuntu-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039100717?pr=2340
install/import (macos-latest, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039100941?pr=2340
install/import (macos-latest, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039100974?pr=2340
install/import (macos-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101016?pr=2340
install/import (windows-latest, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101156?pr=2340
install/import (windows-latest, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039100858?pr=2340
install/import (windows-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101072?pr=2340
install/import (ubuntu-24.04, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101022?pr=2340
install/import (ubuntu-24.04, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/41964764043/job/127039101119?pr=2340
Backend benchmark on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764073
compare-backends https://github.com/gitpython-developers/GitPython/actions/runs/41964764073/job/127039100085?pr=2340
Dependency packages on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764098
test (smmap, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100609?pr=2340
test (smmap, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100525?pr=2340
test (smmap, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100589?pr=2340
test (smmap, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100556?pr=2340
test (smmap, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100927?pr=2340
test (smmap, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100557?pr=2340
test (smmap, 3.13t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100537?pr=2340
test (gitdb, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100544?pr=2340
test (gitdb, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100594?pr=2340
test (gitdb, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100758?pr=2340
test (gitdb, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100546?pr=2340
test (gitdb, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100578?pr=2340
test (gitdb, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100582?pr=2340
test (gitdb, 3.13t) https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100821?pr=2340
uv-sync https://github.com/gitpython-developers/GitPython/actions/runs/41964764098/job/127039100183?pr=2340
test-alpine on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764139
test https://github.com/gitpython-developers/GitPython/actions/runs/41964764139/job/127039100605?pr=2340
Downstream compatibility on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/41964764169
test (langchain, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039101017?pr=2340
test (langchain, cli) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100465?pr=2340
test (mlflow, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100975?pr=2340
test (mlflow, cli) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100919?pr=2340
test (bandit, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100816?pr=2340
test (bandit, cli) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100773?pr=2340
test (swebench, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100796?pr=2340
test (swebench, cli) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100786?pr=2340
test (datahub, gix) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100878?pr=2340
test (datahub, cli) https://github.com/gitpython-developers/GitPython/actions/runs/41964764169/job/127039100924?pr=2340
zizmor https://github.com/gitpython-developers/GitPython/pull/2340/checks?check_run_id=127039181312
Complete job https://github.com/gitpython-developers/GitPython/pull/2340/checks#annotation:9:2
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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.