René's URL Explorer Experiment


Title: Fix refcount leak to `re.Pattern` when using `Meta(pattern=...)` by provinzkraut · Pull Request #899 · msgspec/msgspec · GitHub

Open Graph Title: Fix refcount leak to `re.Pattern` when using `Meta(pattern=...)` by provinzkraut · Pull Request #899 · msgspec/msgspec

X Title: Fix refcount leak to `re.Pattern` when using `Meta(pattern=...)` by provinzkraut · Pull Request #899 · msgspec/msgspec

Description: A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML - Fix refcount leak to `re.Pattern` when using `Meta(pattern=...)` by provinzkraut · Pull Request #899 · msgspec/msgspec

Open Graph Description: When using msgspec.Meta(pattern="something"), msgspec creates a leaky reference to an re.Pattern, by increasing its reference count too many times. This is caused by the fact that it crea...

X Description: When using msgspec.Meta(pattern="something"), msgspec creates a leaky reference to an re.Pattern, by increasing its reference count too many times. This is caused by the fact that...

Opengraph URL: https://github.com/msgspec/msgspec/pull/899

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:2cbb7f23-b974-3e86-1242-20e399782a0d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA544:2EECA8:4744EA:5FAA43:6A4D9FDB
html-safe-nonce7b140fd1e9cca412463f81b1ca7c88ecbf5ae9f780a7532bd711d7fba8bab0ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTQ0OjJFRUNBODo0NzQ0RUE6NUZBQTQzOjZBNEQ5RkRCIiwidmlzaXRvcl9pZCI6IjYzMDUyNTIxMzY4MTc4OTMzMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb6a269b54e25527c650def6aeeaa0d54e9ff3d5ef88c9077fc94967eb863d63b
hovercard-subject-tagpull_request:2948630220
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/msgspec/msgspec/899/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7dd6e4d724fa5a5803b4b13b87649bd3b68aa747ef1a5f4219ba836d5622ff46/msgspec/msgspec/pull/899
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7dd6e4d724fa5a5803b4b13b87649bd3b68aa747ef1a5f4219ba836d5622ff46/msgspec/msgspec/pull/899
og:image:altWhen using msgspec.Meta(pattern="something"), msgspec creates a leaky reference to an re.Pattern, by increasing its reference count too many times. This is caused by the fact that it crea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameprovinzkraut
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-cache
go-importgithub.com/msgspec/msgspec git https://github.com/msgspec/msgspec.git
octolytics-dimension-user_id287455683
octolytics-dimension-user_loginmsgspec
octolytics-dimension-repository_id332952543
octolytics-dimension-repository_nwomsgspec/msgspec
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id332952543
octolytics-dimension-repository_network_root_nwomsgspec/msgspec
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
release7f13faa65cccc9b729d674da83335d5dcfdfd193
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgspec/msgspec/pull/899#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgspec%2Fmsgspec%2Fpull%2F899
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
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fmsgspec%2Fmsgspec%2Fpull%2F899
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=msgspec%2Fmsgspec
Reloadhttps://github.com/msgspec/msgspec/pull/899
Reloadhttps://github.com/msgspec/msgspec/pull/899
Reloadhttps://github.com/msgspec/msgspec/pull/899
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
msgspec https://github.com/msgspec
msgspechttps://github.com/msgspec/msgspec
Notifications https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec
Fork 156 https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec
Star 3.9k https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec
Code https://github.com/msgspec/msgspec
Issues 185 https://github.com/msgspec/msgspec/issues
Pull requests 22 https://github.com/msgspec/msgspec/pulls
Actions https://github.com/msgspec/msgspec/actions
Security and quality 0 https://github.com/msgspec/msgspec/security
Insights https://github.com/msgspec/msgspec/pulse
Code https://github.com/msgspec/msgspec
Issues https://github.com/msgspec/msgspec/issues
Pull requests https://github.com/msgspec/msgspec/pulls
Actions https://github.com/msgspec/msgspec/actions
Security and quality https://github.com/msgspec/msgspec/security
Insights https://github.com/msgspec/msgspec/pulse
ofekhttps://github.com/ofek
msgspec:mainhttps://github.com/msgspec/msgspec/tree/main
provinzkraut:fix-meta-pattern-refleakhttps://github.com/provinzkraut/msgspec/tree/fix-meta-pattern-refleak
Conversationhttps://github.com/msgspec/msgspec/pull/899
Commits5 (5)https://github.com/msgspec/msgspec/pull/899/commits
Checkshttps://github.com/msgspec/msgspec/pull/899/checks
Files changedhttps://github.com/msgspec/msgspec/pull/899/files
Fix refcount leak to re.Pattern when using Meta(pattern=...)https://github.com/msgspec/msgspec/pull/899#top
ofekhttps://github.com/ofek
msgspec:mainhttps://github.com/msgspec/msgspec/tree/main
provinzkraut:fix-meta-pattern-refleakhttps://github.com/provinzkraut/msgspec/tree/fix-meta-pattern-refleak
https://github.com/provinzkraut
provinzkrauthttps://github.com/provinzkraut
Oct 26, 2025https://github.com/msgspec/msgspec/pull/899#issue-3554087552
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/provinzkraut
provinzkrauthttps://github.com/provinzkraut
force-pushedhttps://github.com/msgspec/msgspec/compare/cc60a08922e3ce0d4bb61bea1cef3f9d025c5bf3..2f8c03024172d88570f842d7ec763fa2d7e8571e
cc60a08https://github.com/msgspec/msgspec/commit/cc60a08922e3ce0d4bb61bea1cef3f9d025c5bf3
2f8c030https://github.com/msgspec/msgspec/commit/2f8c03024172d88570f842d7ec763fa2d7e8571e
Compare https://github.com/msgspec/msgspec/compare/cc60a08922e3ce0d4bb61bea1cef3f9d025c5bf3..2f8c03024172d88570f842d7ec763fa2d7e8571e
October 26, 2025 15:09https://github.com/msgspec/msgspec/pull/899#event-20510261638
https://github.com/CharString
CharStringhttps://github.com/CharString
Nov 10, 2025 https://github.com/msgspec/msgspec/pull/899#pullrequestreview-3445092312
View reviewed changes https://github.com/msgspec/msgspec/pull/899/files
tests/unit/test_struct_meta.pyhttps://github.com/msgspec/msgspec/pull/899/files#diff-ada8394f64f75eb25d514d9f3fe29e81e19d0aabca7125801bdb6d057397fa90
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/provinzkraut
provinzkrauthttps://github.com/provinzkraut
force-pushedhttps://github.com/msgspec/msgspec/compare/f3c3acc5d8a5df961dbd9c7691e33b2f4ef94921..4ed46d493031990b24e2d3dbddb41994208a98f0
f3c3acchttps://github.com/msgspec/msgspec/commit/f3c3acc5d8a5df961dbd9c7691e33b2f4ef94921
4ed46d4https://github.com/msgspec/msgspec/commit/4ed46d493031990b24e2d3dbddb41994208a98f0
Compare https://github.com/msgspec/msgspec/compare/f3c3acc5d8a5df961dbd9c7691e33b2f4ef94921..4ed46d493031990b24e2d3dbddb41994208a98f0
November 11, 2025 18:01https://github.com/msgspec/msgspec/pull/899#event-20868675456
https://github.com/provinzkraut
provinzkrauthttps://github.com/provinzkraut
Nov 11, 2025 https://github.com/msgspec/msgspec/pull/899#ref-pullrequest-3613924411
Add 3rd party regex support #925 https://github.com/msgspec/msgspec/pull/925
provinzkrauthttps://github.com/provinzkraut
November 23, 2025 13:48https://github.com/msgspec/msgspec/pull/899#commits-pushed-442c1a0
https://github.com/provinzkraut
https://github.com/ofek
fixhttps://github.com/msgspec/msgspec/pull/899/commits/442c1a0afad8adf086242870e70e3df37ba25901
442c1a0https://github.com/msgspec/msgspec/pull/899/commits/442c1a0afad8adf086242870e70e3df37ba25901
https://github.com/provinzkraut
https://github.com/ofek
formattinghttps://github.com/msgspec/msgspec/pull/899/commits/977a44485920b4ae2b24789c38c950505fcecdf0
977a444https://github.com/msgspec/msgspec/pull/899/commits/977a44485920b4ae2b24789c38c950505fcecdf0
https://github.com/provinzkraut
https://github.com/ofek
fix comment :)https://github.com/msgspec/msgspec/pull/899/commits/bc5b1e034a2b288923db7e0c50a3325b9b05b29b
bc5b1e0https://github.com/msgspec/msgspec/pull/899/commits/bc5b1e034a2b288923db7e0c50a3325b9b05b29b
https://github.com/ofek
ofekhttps://github.com/ofek
force-pushedhttps://github.com/msgspec/msgspec/compare/3513781451380f37b9cf6bc99bddd4cc8524d1ce..bc5b1e034a2b288923db7e0c50a3325b9b05b29b
3513781https://github.com/msgspec/msgspec/commit/3513781451380f37b9cf6bc99bddd4cc8524d1ce
bc5b1e0https://github.com/msgspec/msgspec/commit/bc5b1e034a2b288923db7e0c50a3325b9b05b29b
Compare https://github.com/msgspec/msgspec/compare/3513781451380f37b9cf6bc99bddd4cc8524d1ce..bc5b1e034a2b288923db7e0c50a3325b9b05b29b
November 23, 2025 18:48https://github.com/msgspec/msgspec/pull/899#event-21123624533
ofekhttps://github.com/ofek
November 23, 2025 13:51https://github.com/msgspec/msgspec/pull/899#commits-pushed-155097e
https://github.com/ofek
fix static analysishttps://github.com/msgspec/msgspec/pull/899/commits/155097e1b2f63ecce9659f3df0cda2349958a67f
155097ehttps://github.com/msgspec/msgspec/pull/899/commits/155097e1b2f63ecce9659f3df0cda2349958a67f
https://github.com/ofek
clean uphttps://github.com/msgspec/msgspec/pull/899/commits/efd64cdec12175b886bf8d264d115b427e1074b4
efd64cdhttps://github.com/msgspec/msgspec/pull/899/commits/efd64cdec12175b886bf8d264d115b427e1074b4
https://github.com/ofek
ofekhttps://github.com/ofek
Nov 23, 2025 https://github.com/msgspec/msgspec/pull/899#pullrequestreview-3497979197
View reviewed changes https://github.com/msgspec/msgspec/pull/899/files/efd64cdec12175b886bf8d264d115b427e1074b4
ofekhttps://github.com/ofek
https://github.com/msgspec/msgspec/pull/899#pullrequestreview-3497979197
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/ofek
ofekhttps://github.com/ofek
233d916https://github.com/msgspec/msgspec/commit/233d916eb4d8b9f5629e597dbb29caed73c9848e
Nov 23, 2025https://github.com/msgspec/msgspec/pull/899#event-21124079544
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/ofek
ofekhttps://github.com/ofek
Nov 23, 2025https://github.com/msgspec/msgspec/pull/899#issuecomment-3568359535
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/provinzkraut
provinzkrauthttps://github.com/provinzkraut
November 23, 2025 22:05https://github.com/msgspec/msgspec/pull/899#event-21124560296
https://github.co/hiddenchars
https://github.com/msgspec/msgspec/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%2Fmsgspec%2Fmsgspec%2Fpull%2F899
https://github.com/ofek
ofek https://github.com/ofek
https://github.com/msgspec/msgspec/pull/899/files/efd64cdec12175b886bf8d264d115b427e1074b4
https://github.com/CharString
CharString https://github.com/CharString
https://github.com/msgspec/msgspec/pull/899/files/f3c3acc5d8a5df961dbd9c7691e33b2f4ef94921
Please reload this pagehttps://github.com/msgspec/msgspec/pull/899
https://github.com/provinzkraut
https://github.com/ofek
https://github.com/CharString
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.