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: A sliding memory map manager. Contribute to gitpython-developers/smmap development by creating an account on GitHub.

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: 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:5d5326af-bba7-0f34-767e-34f6045fe1d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA12:FDE42:4829FE:63CBF2:6A639B4B
html-safe-nonce74286949f34d5a852cc379e4aadf24852a988a923046289675a6c711888a7dc3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTEyOkZERTQyOjQ4MjlGRTo2M0NCRjI6NkE2MzlCNEIiLCJ2aXNpdG9yX2lkIjoiNzIzMTk5MzQ3Mzg0MzU2NzQzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ecbb753bf269e7283e9cfaf1b2181d6d36f8493cbf78eb14d4cdf361248a336
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
None4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659
turbo-cache-controlno-cache
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
release3a0a9f049e072eb8e5795dfddcefdba9e277501d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://Github.com/gitpython-developers/smmap/pull/33#start-of-content
https://Github.com/
Sign in https://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 Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fsmmap%2Fpull%2F33
Sign up https://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://Github.com/gitpython-developers/smmap/pull/33
Reloadhttps://Github.com/gitpython-developers/smmap/pull/33
Reloadhttps://Github.com/gitpython-developers/smmap/pull/33
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
gitpython-developers https://Github.com/gitpython-developers
smmaphttps://Github.com/gitpython-developers/smmap
Notifications https://Github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Fork 31 https://Github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Star 74 https://Github.com/login?return_to=%2Fgitpython-developers%2Fsmmap
Code https://Github.com/gitpython-developers/smmap
Issues 2 https://Github.com/gitpython-developers/smmap/issues
Pull requests 1 https://Github.com/gitpython-developers/smmap/pulls
Actions https://Github.com/gitpython-developers/smmap/actions
Security and quality 0 https://Github.com/gitpython-developers/smmap/security
Insights https://Github.com/gitpython-developers/smmap/pulse
Code https://Github.com/gitpython-developers/smmap
Issues https://Github.com/gitpython-developers/smmap/issues
Pull requests https://Github.com/gitpython-developers/smmap/pulls
Actions https://Github.com/gitpython-developers/smmap/actions
Security and quality https://Github.com/gitpython-developers/smmap/security
Insights https://Github.com/gitpython-developers/smmap/pulse
ankostishttps://Github.com/ankostis
gitpython-developers:masterhttps://Github.com/gitpython-developers/smmap/tree/master
ankostis:leaks2https://Github.com/ankostis/smmap/tree/leaks2
Conversationhttps://Github.com/gitpython-developers/smmap/pull/33
Commits19 (19)https://Github.com/gitpython-developers/smmap/pull/33/commits
Checkshttps://Github.com/gitpython-developers/smmap/pull/33/checks
Files changedhttps://Github.com/gitpython-developers/smmap/pull/33/files
FIX memoryview leaks and retrofit memory-manager as context-managershttps://Github.com/gitpython-developers/smmap/pull/33#top
ankostishttps://Github.com/ankostis
gitpython-developers:masterhttps://Github.com/gitpython-developers/smmap/tree/master
ankostis:leaks2https://Github.com/ankostis/smmap/tree/leaks2
https://Github.com/ankostis
ankostishttps://Github.com/ankostis
Oct 27, 2016https://Github.com/gitpython-developers/smmap/pull/33#issue-185619068
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
ankostishttps://Github.com/ankostis
October 23, 2016 17:09https://Github.com/gitpython-developers/smmap/pull/33#commits-pushed-2347f3d
https://Github.com/ankostis
feat(enc): test with unicode tmpdirhttps://Github.com/gitpython-developers/smmap/pull/33/commits/2347f3d6121ecd499b4aca2fde734553ba2f445c
2347f3dhttps://Github.com/gitpython-developers/smmap/pull/33/commits/2347f3d6121ecd499b4aca2fde734553ba2f445c
gitpython-developers/GitPython#543https://github.com/gitpython-developers/GitPython/pull/543
https://Github.com/ankostis
fix(leaks): attempt to plug the leaks & filter dead regionshttps://Github.com/gitpython-developers/smmap/pull/33/commits/883217bedd27dc5502a9760b8d734cbe11d39904
883217bhttps://Github.com/gitpython-developers/smmap/pull/33/commits/883217bedd27dc5502a9760b8d734cbe11d39904
gitpython-developers#31https://github.com/gitpython-developers/smmap/issues/31
https://Github.com/ankostis
chore(ver): bump 2.0.1-->2.1.0.dev0https://Github.com/gitpython-developers/smmap/pull/33/commits/43c5f233477579eed0b9bd5eb8f0049388e1db82
43c5f23https://Github.com/gitpython-developers/smmap/pull/33/commits/43c5f233477579eed0b9bd5eb8f0049388e1db82
https://Github.com/ankostis
fix(regs): fix/rename scream_if_closed()-->collect_closed_regions()https://Github.com/gitpython-developers/smmap/pull/33/commits/f10196f7974cc00e0e2f3e6b52262d66f7b99da1
f10196fhttps://Github.com/gitpython-developers/smmap/pull/33/commits/f10196f7974cc00e0e2f3e6b52262d66f7b99da1
https://Github.com/ankostis
chore(ver): bump 2.0.1-->2.1.0.dev1https://Github.com/gitpython-developers/smmap/pull/33/commits/88e276952639711f1bca7774cd04d96a5564aae3
88e2769https://Github.com/gitpython-developers/smmap/pull/33/commits/88e276952639711f1bca7774cd04d96a5564aae3
https://Github.com/ankostis
style(listuple): pep8, literals for empty lists/tupleshttps://Github.com/gitpython-developers/smmap/pull/33/commits/133dd1c9eb26c41683b15ea3459e8b7de5603358
133dd1chttps://Github.com/gitpython-developers/smmap/pull/33/commits/133dd1c9eb26c41683b15ea3459e8b7de5603358
https://Github.com/ankostis
refact(region): rename offset _b --> _ofshttps://Github.com/gitpython-developers/smmap/pull/33/commits/7c1eac7944c680ca191fc8e54d92e301ae4b79a9
7c1eac7https://Github.com/gitpython-developers/smmap/pull/33/commits/7c1eac7944c680ca191fc8e54d92e301ae4b79a9
https://Github.com/ankostis
refact(minor): use region.priv-func, close fd on same conditionhttps://Github.com/gitpython-developers/smmap/pull/33/commits/bba086aa50c8d57ba84973482d23897e876fe121
bba086ahttps://Github.com/gitpython-developers/smmap/pull/33/commits/bba086aa50c8d57ba84973482d23897e876fe121
https://Github.com/ankostis
feat(mman): BREAKING API mman as context-manager to release regionshttps://Github.com/gitpython-developers/smmap/pull/33/commits/a2bc2d2e983e34b576f87127a531fdf978ecc322
a2bc2d2https://Github.com/gitpython-developers/smmap/pull/33/commits/a2bc2d2e983e34b576f87127a531fdf978ecc322
https://Github.com/ankostis
chore(ver): bump 2.1.0.dev1-->2.1.0.dev3https://Github.com/gitpython-developers/smmap/pull/33/commits/01df7f33136644b189e8b6a981180cbc4c77f490
01df7f3https://Github.com/gitpython-developers/smmap/pull/33/commits/01df7f33136644b189e8b6a981180cbc4c77f490
https://Github.com/ankostis
feat(mman-contxt): opt-out not to scream if mman not enteredhttps://Github.com/gitpython-developers/smmap/pull/33/commits/bf68f775d7a9e176fa518d1d10cca6d351582684
bf68f77https://Github.com/gitpython-developers/smmap/pull/33/commits/bf68f775d7a9e176fa518d1d10cca6d351582684
https://Github.com/ankostis
fix(leaks): attempt to gc-collect before region-collecthttps://Github.com/gitpython-developers/smmap/pull/33/commits/4598966aba7bbf8873de5e29893117b95f601379
4598966https://Github.com/gitpython-developers/smmap/pull/33/commits/4598966aba7bbf8873de5e29893117b95f601379
https://Github.com/ankostis
fix(mman): exit log-msg were missing left-overs arg, log as debughttps://Github.com/gitpython-developers/smmap/pull/33/commits/d0bd74ec3ee0b66ca50e096497234c7ec72f8854
d0bd74ehttps://Github.com/gitpython-developers/smmap/pull/33/commits/d0bd74ec3ee0b66ca50e096497234c7ec72f8854
https://Github.com/ankostis
refact(buf): also use SlidingWindowMapBuffer as optional context-managerhttps://Github.com/gitpython-developers/smmap/pull/33/commits/e33235a24d1e3cd9a41079af2b3edd09c5b4a02a
e33235ahttps://Github.com/gitpython-developers/smmap/pull/33/commits/e33235a24d1e3cd9a41079af2b3edd09c5b4a02a
https://Github.com/ankostis
refact(TCs): unittestize assertionshttps://Github.com/gitpython-developers/smmap/pull/33/commits/33f12e64438ff942ec401ef23697e6c31ee03a4a
33f12e6https://Github.com/gitpython-developers/smmap/pull/33/commits/33f12e64438ff942ec401ef23697e6c31ee03a4a
https://Github.com/ankostis
refact(buf): simplify API - no begin/end after constructhttps://Github.com/gitpython-developers/smmap/pull/33/commits/8489c31d92c63a42273ab04c1d0690f495617ee8
8489c31https://Github.com/gitpython-developers/smmap/pull/33/commits/8489c31d92c63a42273ab04c1d0690f495617ee8
https://Github.com/ankostis
style(mman): move managed_mmaps() closer to 2 mmanshttps://Github.com/gitpython-developers/smmap/pull/33/commits/d81dc1da26227b0e084438040ec114db48b25de5
d81dc1dhttps://Github.com/gitpython-developers/smmap/pull/33/commits/d81dc1da26227b0e084438040ec114db48b25de5
https://Github.com/ankostis
fix(leaks): FIX memoryview leak in Windowshttps://Github.com/gitpython-developers/smmap/pull/33/commits/9ba1649d8e987c2e1ad26a54cbfa9cfe5f3884bb
9ba1649https://Github.com/gitpython-developers/smmap/pull/33/commits/9ba1649d8e987c2e1ad26a54cbfa9cfe5f3884bb
https://Github.com/ankostis
chore(ver): bump 2.1.0.dev3-->2.1.0.dev4https://Github.com/gitpython-developers/smmap/pull/33/commits/144891bc6c3d5ecdd96e522cb4e3571dff948171
144891bhttps://Github.com/gitpython-developers/smmap/pull/33/commits/144891bc6c3d5ecdd96e522cb4e3571dff948171
https://Github.com/ankostis
ankostishttps://Github.com/ankostis
tag.leaks https://Github.com/gitpython-developers/smmap/issues?q=state%3Aopen%20label%3Atag.leaks
Oct 27, 2016https://Github.com/gitpython-developers/smmap/pull/33#event-838326717
https://Github.com/coveralls
coverallshttps://Github.com/coveralls
Oct 27, 2016https://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://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/coveralls
coverallshttps://Github.com/coveralls
Oct 27, 2016https://Github.com/gitpython-developers/smmap/pull/33#issuecomment-256594954
Please reload this pagehttps://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://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/ankostis
ankostishttps://Github.com/ankostis
Oct 27, 2016https://Github.com/gitpython-developers/smmap/pull/33#issuecomment-256595666
Please reload this pagehttps://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://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/Byron
Byronhttps://Github.com/Byron
Dec 8, 2016https://Github.com/gitpython-developers/smmap/pull/33#event-886656088
https://Github.com/Byron
Byronhttps://Github.com/Byron
Dec 8, 2016https://Github.com/gitpython-developers/smmap/pull/33#issuecomment-265709654
@ankostishttps://github.com/ankostis
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/ankostis
ankostishttps://Github.com/ankostis
Dec 8, 2016https://Github.com/gitpython-developers/smmap/pull/33#issuecomment-265712350
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/Byron
Byronhttps://Github.com/Byron
Dec 8, 2016https://Github.com/gitpython-developers/smmap/pull/33#issuecomment-265714049
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/EliahKagan
EliahKaganhttps://Github.com/EliahKagan
Dec 13, 2023 https://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://Github.com/gitpython-developers/GitPython/issues/1669
https://github.co/hiddenchars
https://Github.com/gitpython-developers/smmap/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%2Fsmmap%2Fpull%2F33
https://Github.com/Byron
Byron https://Github.com/Byron
tag.leaks https://Github.com/gitpython-developers/smmap/issues?q=state%3Aopen%20label%3Atag.leaks
Please reload this pagehttps://Github.com/gitpython-developers/smmap/pull/33
https://Github.com/ankostis
https://Github.com/coveralls
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.