René's URL Explorer Experiment


Title: Fix reference cycle in IndexFile._raise_exc and remove gc.collect() by jenshnielsen · Pull Request #2350 · gitpython-developers/GitPython · GitHub

Open Graph Title: Fix reference cycle in IndexFile._raise_exc and remove gc.collect() by jenshnielsen · Pull Request #2350 · gitpython-developers/GitPython

X Title: Fix reference cycle in IndexFile._raise_exc and remove gc.collect() by jenshnielsen · Pull Request #2350 · gitpython-developers/GitPython

Description: GitPython is a python library used to interact with Git repositories. - Fix reference cycle in IndexFile._raise_exc and remove gc.collect() by jenshnielsen · Pull Request #2350 · gitpython-developers/GitPython

Open Graph Description: Disclaimer: The changes are AI written but the issue is real and I have tested the fix Follow up to #686 This breaks the reference cycle such that a Repo close on longer requires a gc.collect to re...

X Description: Disclaimer: The changes are AI written but the issue is real and I have tested the fix Follow up to #686 This breaks the reference cycle such that a Repo close on longer requires a gc.collect to re...

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

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:3510570a-6f38-829a-8ed4-8becbe4fe892
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id807C:2B2ADA:67581D:89D9CD:6B00AB12
html-safe-nonce651e27aebdb3657cc626e7782e06a9186d103b7646bf6d2a7f15ad194787b5a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDdDOjJCMkFEQTo2NzU4MUQ6ODlEOUNEOjZCMDBBQjEyIiwidmlzaXRvcl9pZCI6IjY1OTI5MzQyOTQ3NjU3NDI4NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7a3cbf4b7db0edcae6f7db8e985c310091d15d766f0589e688e198cf6a57eccc
hovercard-subject-tagpull_request:5414119801
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/2350/checks
twitter:imagehttps://opengraph.githubassets.com/75357d4cf6ceeeb18a12ef68c9f570d14169e6503267ad44505a351225254d9d/gitpython-developers/GitPython/pull/2350
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/75357d4cf6ceeeb18a12ef68c9f570d14169e6503267ad44505a351225254d9d/gitpython-developers/GitPython/pull/2350
og:image:altDisclaimer: The changes are AI written but the issue is real and I have tested the fix Follow up to #686 This breaks the reference cycle such that a Repo close on longer requires a gc.collect to re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejenshnielsen
hostnamegithub.com
expected-hostnamegithub.com
None455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a
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
release2f575159976167242d488c0b062eb355c4e198b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/2350/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2350%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%2F2350%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/2350/checks
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2350/checks
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2350/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
jenshnielsen:jenshnielsen/agents/gitpython-repo-close-gc-optimizationhttps://github.com/jenshnielsen/GitPython/tree/jenshnielsen/agents/gitpython-repo-close-gc-optimization
Conversationhttps://github.com/gitpython-developers/GitPython/pull/2350
Commits3 (3)https://github.com/gitpython-developers/GitPython/pull/2350/commits
Checkshttps://github.com/gitpython-developers/GitPython/pull/2350/checks
Files changedhttps://github.com/gitpython-developers/GitPython/pull/2350/files
Fix reference cycle in IndexFile._raise_exc and remove gc.collect()https://github.com/gitpython-developers/GitPython/pull/2350/checks#top
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
jenshnielsen:jenshnielsen/agents/gitpython-repo-close-gc-optimizationhttps://github.com/jenshnielsen/GitPython/tree/jenshnielsen/agents/gitpython-repo-close-gc-optimization
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2350/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2350%2Fchecks
Dependency packages on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168715
test (smmap, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843002?pr=2350
test (smmap, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359842533?pr=2350
test (smmap, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359842869?pr=2350
test (smmap, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843071?pr=2350
test (smmap, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843171?pr=2350
test (smmap, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843112?pr=2350
test (smmap, 3.13t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359842945?pr=2350
test (gitdb, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843072?pr=2350
test (gitdb, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843263?pr=2350
test (gitdb, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843092?pr=2350
test (gitdb, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843061?pr=2350
test (gitdb, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359842919?pr=2350
test (gitdb, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843027?pr=2350
test (gitdb, 3.13t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359843168?pr=2350
uv-sync https://github.com/gitpython-developers/GitPython/actions/runs/44757168715/job/136359842166?pr=2350
zizmor on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168736
zizmor https://github.com/gitpython-developers/GitPython/actions/runs/44757168736/job/136359842070?pr=2350
Lint on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168787
lint https://github.com/gitpython-developers/GitPython/actions/runs/44757168787/job/136359842336?pr=2350
check-no-persist-credentials https://github.com/gitpython-developers/GitPython/actions/runs/44757168787/job/136359841825?pr=2350
Python package on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168838
test (ubuntu, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842421?pr=2350
test (ubuntu, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842611?pr=2350
test (ubuntu, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842645?pr=2350
test (ubuntu, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842627?pr=2350
test (ubuntu, 3.14t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842689?pr=2350
test (ubuntu, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842730?pr=2350
test (ubuntu, 3.15t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842693?pr=2350
test (macos, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842523?pr=2350
test (macos, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842777?pr=2350
test (macos, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842596?pr=2350
test (macos, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842821?pr=2350
test (macos, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842921?pr=2350
test (windows, 3.11) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842793?pr=2350
test (windows, 3.12) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359844075?pr=2350
test (windows, 3.13) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359843037?pr=2350
test (windows, 3.14) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359843042?pr=2350
test (windows, 3.14t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842746?pr=2350
test (windows, 3.15) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842925?pr=2350
test (windows, 3.15t) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842937?pr=2350
test (ubuntu, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359843011?pr=2350
test (macos, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842752?pr=2350
test (windows, 3.12, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359843124?pr=2350
install/import (ubuntu-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842624?pr=2350
install/import (macos-latest, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842543?pr=2350
install/import (macos-latest, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842530?pr=2350
install/import (macos-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842477?pr=2350
install/import (windows-latest, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842740?pr=2350
install/import (windows-latest, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359841791?pr=2350
install/import (windows-latest, 3.10) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842371?pr=2350
install/import (ubuntu-24.04, 3.8) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842369?pr=2350
install/import (ubuntu-24.04, 3.9) https://github.com/gitpython-developers/GitPython/actions/runs/44757168838/job/136359842526?pr=2350
Minimum Git CLI on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168939
git-2-52 https://github.com/gitpython-developers/GitPython/actions/runs/44757168939/job/136359842849?pr=2350
Downstream compatibility on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168947
test (langchain, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842383?pr=2350
test (langchain, cli) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842922?pr=2350
test (mlflow, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842854?pr=2350
test (mlflow, cli) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842900?pr=2350
test (bandit, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842892?pr=2350
test (bandit, cli) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359843086?pr=2350
test (swebench, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359843262?pr=2350
test (swebench, cli) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842742?pr=2350
test (datahub, gix) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359843222?pr=2350
test (datahub, cli) https://github.com/gitpython-developers/GitPython/actions/runs/44757168947/job/136359842970?pr=2350
Backend benchmark on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757168967
compare-backends https://github.com/gitpython-developers/GitPython/actions/runs/44757168967/job/136359842291?pr=2350
import-cygwin on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757169070
test https://github.com/gitpython-developers/GitPython/actions/runs/44757169070/job/136359842473?pr=2350
test-alpine on: pull_request https://github.com/gitpython-developers/GitPython/actions/runs/44757169191
test https://github.com/gitpython-developers/GitPython/actions/runs/44757169191/job/136359843242?pr=2350
zizmor https://github.com/gitpython-developers/GitPython/pull/2350/checks?check_run_id=136360083007
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.