René's URL Explorer Experiment


Title: FIX memoryview leaks and retrofit memory-manager as context-managers by ankostis · Pull Request #33 · gitpython-developers/smmap · GitHub

Open Graph Title: FIX memoryview leaks and retrofit memory-manager as context-managers by ankostis · Pull Request #33 · gitpython-developers/smmap

X Title: FIX memoryview leaks and retrofit memory-manager as context-managers by ankostis · Pull Request #33 · gitpython-developers/smmap

Description: BREAKING API: retrofit git.util.mman as context-manager, to release memory-mapped regions held. The mmap-manager(s) are re-entrant, but not thread-safe context-manager(s), to be used within a wit...

Open Graph Description: BREAKING API: retrofit git.util.mman as context-manager, to release memory-mapped regions held. The mmap-manager(s) are re-entrant, but not thread-safe context-manager(s), to be used within a wit...

X Description: BREAKING API: retrofit git.util.mman as context-manager, to release memory-mapped regions held. The mmap-manager(s) are re-entrant, but not thread-safe context-manager(s), to be used within a wit...

Opengraph URL: https://github.com/gitpython-developers/smmap/pull/33

X: @github

direct link

Domain: redirect.github.com

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:903370ee-407d-59e6-b513-852e10261433
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86CE:C5072:C1AC9:10C712:69693D7F
html-safe-nonce8ed42cdf2895e68589e01524b45e354bd7ade0494696d2df34395836aaa00d1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkNFOkM1MDcyOkMxQUM5OjEwQzcxMjo2OTY5M0Q3RiIsInZpc2l0b3JfaWQiOiI0MzExNTQ2ODc2NTUzNDExOTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac293ef5f220be8e9bd7fcae4c2cb570b3b9db2d99e9c2ab4bf7797b58bc7c96e5
hovercard-subject-tagpull_request:91164780
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/smmap/33/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1f0ea97c2e35faff3475d8cbafd37e38923d52cd91db09332551748f75ac053a/gitpython-developers/smmap/pull/33
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f0ea97c2e35faff3475d8cbafd37e38923d52cd91db09332551748f75ac053a/gitpython-developers/smmap/pull/33
og:image:altBREAKING API: retrofit git.util.mman as context-manager, to release memory-mapped regions held. The mmap-manager(s) are re-entrant, but not thread-safe context-manager(s), to be used within a wit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameankostis
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/smmap git https://github.com/gitpython-developers/smmap.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1865144
octolytics-dimension-repository_nwogitpython-developers/smmap
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1865144
octolytics-dimension-repository_network_root_nwogitpython-developers/smmap
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/gitpython-developers/smmap/pull/33#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fsmmap%2Fpull%2F33
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fsmmap%2Fpull%2F33
Sign up https://redirect.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%2Fsmmap
Reloadhttps://redirect.github.com/gitpython-developers/smmap/pull/33
Reloadhttps://redirect.github.com/gitpython-developers/smmap/pull/33
Reloadhttps://redirect.github.com/gitpython-developers/smmap/pull/33
gitpython-developers https://redirect.github.com/gitpython-developers
smmaphttps://redirect.github.com/gitpython-developers/smmap
Notifications https://redirect.github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Fork 29 https://redirect.github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Star 71 https://redirect.github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Code https://redirect.github.com/gitpython-developers/smmap
Issues 2 https://redirect.github.com/gitpython-developers/smmap/issues
Pull requests 1 https://redirect.github.com/gitpython-developers/smmap/pulls
Actions https://redirect.github.com/gitpython-developers/smmap/actions
Security Uh oh! There was an error while loading. Please reload this page. https://redirect.github.com/gitpython-developers/smmap/security
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
Insights https://redirect.github.com/gitpython-developers/smmap/pulse
Code https://redirect.github.com/gitpython-developers/smmap
Issues https://redirect.github.com/gitpython-developers/smmap/issues
Pull requests https://redirect.github.com/gitpython-developers/smmap/pulls
Actions https://redirect.github.com/gitpython-developers/smmap/actions
Security https://redirect.github.com/gitpython-developers/smmap/security
Insights https://redirect.github.com/gitpython-developers/smmap/pulse
Sign up for GitHub https://redirect.github.com/signup?return_to=%2Fgitpython-developers%2Fsmmap%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2Fgitpython-developers%2Fsmmap%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://redirect.github.com/gitpython-developers/smmap/pull/33#issue-comment-box
ankostishttps://redirect.github.com/ankostis
gitpython-developers:masterhttps://redirect.github.com/gitpython-developers/smmap/tree/master
ankostis:leaks2https://redirect.github.com/ankostis/smmap/tree/leaks2
FIX memoryview leaks and retrofit memory-manager as context-managers https://redirect.github.com/gitpython-developers/smmap/pull/33#top
ankostishttps://redirect.github.com/ankostis
gitpython-developers:masterhttps://redirect.github.com/gitpython-developers/smmap/tree/master
ankostis:leaks2https://redirect.github.com/ankostis/smmap/tree/leaks2
Conversation 6 https://redirect.github.com/gitpython-developers/smmap/pull/33
Commits 19 https://redirect.github.com/gitpython-developers/smmap/pull/33/commits
Checks 0 https://redirect.github.com/gitpython-developers/smmap/pull/33/checks
Files changed https://redirect.github.com/gitpython-developers/smmap/pull/33/files
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://github.co/hiddenchars
https://redirect.github.com/gitpython-developers/smmap/pull/{{ revealButtonHref }}
https://redirect.github.com/ankostis
ankostishttps://redirect.github.com/ankostis
Oct 27, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issue-185619068
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
ankostishttps://redirect.github.com/ankostis
October 23, 2016 17:09https://redirect.github.com/gitpython-developers/smmap/pull/33#commits-pushed-2347f3d
https://redirect.github.com/ankostis
feat(enc): test with unicode tmpdirhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/2347f3d6121ecd499b4aca2fde734553ba2f445c
2347f3dhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/2347f3d6121ecd499b4aca2fde734553ba2f445c
gitpython-developers/GitPython#543https://github.com/gitpython-developers/GitPython/pull/543
https://redirect.github.com/ankostis
fix(leaks): attempt to plug the leaks & filter dead regionshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/883217bedd27dc5502a9760b8d734cbe11d39904
883217bhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/883217bedd27dc5502a9760b8d734cbe11d39904
gitpython-developers#31https://github.com/gitpython-developers/smmap/issues/31
https://redirect.github.com/ankostis
chore(ver): bump 2.0.1-->2.1.0.dev0https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/43c5f233477579eed0b9bd5eb8f0049388e1db82
43c5f23https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/43c5f233477579eed0b9bd5eb8f0049388e1db82
https://redirect.github.com/ankostis
fix(regs): fix/rename scream_if_closed()-->collect_closed_regions()https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/f10196f7974cc00e0e2f3e6b52262d66f7b99da1
f10196fhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/f10196f7974cc00e0e2f3e6b52262d66f7b99da1
https://redirect.github.com/ankostis
chore(ver): bump 2.0.1-->2.1.0.dev1https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/88e276952639711f1bca7774cd04d96a5564aae3
88e2769https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/88e276952639711f1bca7774cd04d96a5564aae3
https://redirect.github.com/ankostis
style(listuple): pep8, literals for empty lists/tupleshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/133dd1c9eb26c41683b15ea3459e8b7de5603358
133dd1chttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/133dd1c9eb26c41683b15ea3459e8b7de5603358
https://redirect.github.com/ankostis
refact(region): rename offset _b --> _ofshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/7c1eac7944c680ca191fc8e54d92e301ae4b79a9
7c1eac7https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/7c1eac7944c680ca191fc8e54d92e301ae4b79a9
https://redirect.github.com/ankostis
refact(minor): use region.priv-func, close fd on same conditionhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/bba086aa50c8d57ba84973482d23897e876fe121
bba086ahttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/bba086aa50c8d57ba84973482d23897e876fe121
https://redirect.github.com/ankostis
feat(mman): BREAKING API mman as context-manager to release regionshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/a2bc2d2e983e34b576f87127a531fdf978ecc322
a2bc2d2https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/a2bc2d2e983e34b576f87127a531fdf978ecc322
https://redirect.github.com/ankostis
chore(ver): bump 2.1.0.dev1-->2.1.0.dev3https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/01df7f33136644b189e8b6a981180cbc4c77f490
01df7f3https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/01df7f33136644b189e8b6a981180cbc4c77f490
https://redirect.github.com/ankostis
feat(mman-contxt): opt-out not to scream if mman not enteredhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/bf68f775d7a9e176fa518d1d10cca6d351582684
bf68f77https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/bf68f775d7a9e176fa518d1d10cca6d351582684
https://redirect.github.com/ankostis
fix(leaks): attempt to gc-collect before region-collecthttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/4598966aba7bbf8873de5e29893117b95f601379
4598966https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/4598966aba7bbf8873de5e29893117b95f601379
https://redirect.github.com/ankostis
fix(mman): exit log-msg were missing left-overs arg, log as debughttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/d0bd74ec3ee0b66ca50e096497234c7ec72f8854
d0bd74ehttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/d0bd74ec3ee0b66ca50e096497234c7ec72f8854
https://redirect.github.com/ankostis
refact(buf): also use SlidingWindowMapBuffer as optional context-managerhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/e33235a24d1e3cd9a41079af2b3edd09c5b4a02a
e33235ahttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/e33235a24d1e3cd9a41079af2b3edd09c5b4a02a
https://redirect.github.com/ankostis
refact(TCs): unittestize assertionshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/33f12e64438ff942ec401ef23697e6c31ee03a4a
33f12e6https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/33f12e64438ff942ec401ef23697e6c31ee03a4a
https://redirect.github.com/ankostis
refact(buf): simplify API - no begin/end after constructhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/8489c31d92c63a42273ab04c1d0690f495617ee8
8489c31https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/8489c31d92c63a42273ab04c1d0690f495617ee8
https://redirect.github.com/ankostis
style(mman): move managed_mmaps() closer to 2 mmanshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/d81dc1da26227b0e084438040ec114db48b25de5
d81dc1dhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/d81dc1da26227b0e084438040ec114db48b25de5
https://redirect.github.com/ankostis
fix(leaks): FIX memoryview leak in Windowshttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/9ba1649d8e987c2e1ad26a54cbfa9cfe5f3884bb
9ba1649https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/9ba1649d8e987c2e1ad26a54cbfa9cfe5f3884bb
https://redirect.github.com/ankostis
chore(ver): bump 2.1.0.dev3-->2.1.0.dev4https://redirect.github.com/gitpython-developers/smmap/pull/33/commits/144891bc6c3d5ecdd96e522cb4e3571dff948171
144891bhttps://redirect.github.com/gitpython-developers/smmap/pull/33/commits/144891bc6c3d5ecdd96e522cb4e3571dff948171
https://redirect.github.com/ankostis
ankostishttps://redirect.github.com/ankostis
tag.leaks https://redirect.github.com/gitpython-developers/smmap/issues?q=state%3Aopen%20label%3Atag.leaks
Oct 27, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#event-838326717
https://redirect.github.com/coveralls
coverallshttps://redirect.github.com/coveralls
Oct 27, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-256594953
https://coveralls.io/builds/8535937
144891bhttps://github.com/gitpython-developers/smmap/commit/144891bc6c3d5ecdd96e522cb4e3571dff948171
6e55a1chttps://github.com/gitpython-developers/smmap/commit/6e55a1c70843e5e5e29686176325f309f8285f29
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/coveralls
coverallshttps://redirect.github.com/coveralls
Oct 27, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-256594954
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://coveralls.io/builds/8535937
144891bhttps://github.com/gitpython-developers/smmap/commit/144891bc6c3d5ecdd96e522cb4e3571dff948171
6e55a1chttps://github.com/gitpython-developers/smmap/commit/6e55a1c70843e5e5e29686176325f309f8285f29
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/ankostis
ankostishttps://redirect.github.com/ankostis
Oct 27, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-256595666
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
@Byronhttps://github.com/Byron
where a memoryview is cratedhttps://github.com/gitpython-developers/smmap/blob/master/smmap/util.py#L26-L28
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Dec 8, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#event-886656088
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Dec 8, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-265709654
@ankostishttps://github.com/ankostis
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/ankostis
ankostishttps://redirect.github.com/ankostis
Dec 8, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-265712350
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Dec 8, 2016https://redirect.github.com/gitpython-developers/smmap/pull/33#issuecomment-265714049
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/EliahKagan
EliahKaganhttps://redirect.github.com/EliahKagan
Dec 13, 2023 https://redirect.github.com/gitpython-developers/smmap/pull/33#ref-issue-1906380130
SymbolicReference.set_reference may not roll back properly on error gitpython-developers/GitPython#1669 https://redirect.github.com/gitpython-developers/GitPython/issues/1669
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fsmmap%2Fpull%2F33
https://redirect.github.com/Byron
Byron https://redirect.github.com/Byron
tag.leaks https://redirect.github.com/gitpython-developers/smmap/issues?q=state%3Aopen%20label%3Atag.leaks
Please reload this pagehttps://redirect.github.com/gitpython-developers/smmap/pull/33
https://redirect.github.com/ankostis
https://redirect.github.com/coveralls
https://redirect.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.