René's URL Explorer Experiment


Title: Fix constants argument silently discarding Constants subclasses by derek73 · Pull Request #237 · derek73/python-nameparser · GitHub

Open Graph Title: Fix constants argument silently discarding Constants subclasses by derek73 · Pull Request #237 · derek73/python-nameparser

X Title: Fix constants argument silently discarding Constants subclasses by derek73 · Pull Request #237 · derek73/python-nameparser

Description: A simple Python module for parsing human names into their individual components - Fix constants argument silently discarding Constants subclasses by derek73 · Pull Request #237 · derek73/python-nameparser

Open Graph Description: Summary The exact-type check in HumanName.__init__ (type(self.C) is not type(CONSTANTS)) silently replaced Constants subclass instances with fresh defaults, discarding the caller's configurati...

X Description: Summary The exact-type check in HumanName.__init__ (type(self.C) is not type(CONSTANTS)) silently replaced Constants subclass instances with fresh defaults, discarding the caller's configu...

Opengraph URL: https://github.com/derek73/python-nameparser/pull/237

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:df573170-12bb-da1b-5787-a330a2815d99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4C2:8B679:4EC5D83:6EBA712:6A56FB70
html-safe-nonce1bddb440262a9f815b028a5d9434eaca634a75eecf730da5fc7f9e5b00b10446
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEMyOjhCNjc5OjRFQzVEODM6NkVCQTcxMjo2QTU2RkI3MCIsInZpc2l0b3JfaWQiOiI3NzUwNjIxMTY4NjU1NTk2NDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac02e48d3a1e322a6e4c176ee8a7cdb8ff9791b8f3beeb17b842c1c1b850589568
hovercard-subject-tagpull_request:3995024663
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/derek73/python-nameparser/237/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e19682ac70661243e4942edf968d6165797005249bbba9ee8375088e8d50ecab/derek73/python-nameparser/pull/237
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e19682ac70661243e4942edf968d6165797005249bbba9ee8375088e8d50ecab/derek73/python-nameparser/pull/237
og:image:altSummary The exact-type check in HumanName.__init__ (type(self.C) is not type(CONSTANTS)) silently replaced Constants subclass instances with fresh defaults, discarding the caller's configurati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamederek73
hostnamegithub.com
expected-hostnamegithub.com
None4eb29e5f807bd95e41196adfbc6d28f9af12d89830d8b684f3e871774ddff2fc
turbo-cache-controlno-cache
go-importgithub.com/derek73/python-nameparser git https://github.com/derek73/python-nameparser.git
octolytics-dimension-user_id18306
octolytics-dimension-user_loginderek73
octolytics-dimension-repository_id18353524
octolytics-dimension-repository_nwoderek73/python-nameparser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18353524
octolytics-dimension-repository_network_root_nwoderek73/python-nameparser
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
releaseb056788a129fb0194b61f2ebb4c43f6a9f4dfd27
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/derek73/python-nameparser/pull/237#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fderek73%2Fpython-nameparser%2Fpull%2F237
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/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%2Fderek73%2Fpython-nameparser%2Fpull%2F237
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=derek73%2Fpython-nameparser
Reloadhttps://github.com/derek73/python-nameparser/pull/237
Reloadhttps://github.com/derek73/python-nameparser/pull/237
Reloadhttps://github.com/derek73/python-nameparser/pull/237
derek73 https://github.com/derek73
python-nameparserhttps://github.com/derek73/python-nameparser
Notifications https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Fork 111 https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Star 711 https://github.com/login?return_to=%2Fderek73%2Fpython-nameparser
Code https://github.com/derek73/python-nameparser
Issues 22 https://github.com/derek73/python-nameparser/issues
Pull requests 2 https://github.com/derek73/python-nameparser/pulls
Actions https://github.com/derek73/python-nameparser/actions
Projects https://github.com/derek73/python-nameparser/projects
Wiki https://github.com/derek73/python-nameparser/wiki
Security and quality 0 https://github.com/derek73/python-nameparser/security
Insights https://github.com/derek73/python-nameparser/pulse
Code https://github.com/derek73/python-nameparser
Issues https://github.com/derek73/python-nameparser/issues
Pull requests https://github.com/derek73/python-nameparser/pulls
Actions https://github.com/derek73/python-nameparser/actions
Projects https://github.com/derek73/python-nameparser/projects
Wiki https://github.com/derek73/python-nameparser/wiki
Security and quality https://github.com/derek73/python-nameparser/security
Insights https://github.com/derek73/python-nameparser/pulse
derek73https://github.com/derek73
masterhttps://github.com/derek73/python-nameparser/tree/master
fix/issue-226-constants-subclasshttps://github.com/derek73/python-nameparser/tree/fix/issue-226-constants-subclass
Conversationhttps://github.com/derek73/python-nameparser/pull/237
Commits2 (2)https://github.com/derek73/python-nameparser/pull/237/commits
Checkshttps://github.com/derek73/python-nameparser/pull/237/checks
Files changedhttps://github.com/derek73/python-nameparser/pull/237/files
Fix constants argument silently discarding Constants subclasseshttps://github.com/derek73/python-nameparser/pull/237#top
derek73https://github.com/derek73
masterhttps://github.com/derek73/python-nameparser/tree/master
fix/issue-226-constants-subclasshttps://github.com/derek73/python-nameparser/tree/fix/issue-226-constants-subclass
https://github.com/derek73
derek73https://github.com/derek73
Jul 5, 2026https://github.com/derek73/python-nameparser/pull/237#issue-4814695376
constants argument silently discards Constants subclasses #226https://github.com/derek73/python-nameparser/issues/226
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/derek73/python-nameparser/pull/237
derek73https://github.com/derek73
July 5, 2026 15:36https://github.com/derek73/python-nameparser/pull/237#commits-pushed-4097e7b
https://github.com/derek73
https://github.com/claude
Fix constants argument silently discarding Constants subclasseshttps://github.com/derek73/python-nameparser/pull/237/commits/4097e7bcf89bde3b1781148a41c2a89c43b29ccc
4097e7bhttps://github.com/derek73/python-nameparser/pull/237/commits/4097e7bcf89bde3b1781148a41c2a89c43b29ccc
#226https://github.com/derek73/python-nameparser/issues/226
https://github.com/derek73
https://github.com/claude
Review follow-ups: class-not-instance hint, stale doc sweephttps://github.com/derek73/python-nameparser/pull/237/commits/84b81cc9371f2270a28fa72b59bd31085a90b96a
84b81cchttps://github.com/derek73/python-nameparser/pull/237/commits/84b81cc9371f2270a28fa72b59bd31085a90b96a
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
Jul 5, 2026https://github.com/derek73/python-nameparser/pull/237#issuecomment-4887851010
https://private-user-images.githubusercontent.com/152432831/340411587-e90313f4-9d3a-4b63-8b54-cfe14e7ec20d.svg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQwODU2NjEsIm5iZiI6MTc4NDA4NTM2MSwicGF0aCI6Ii8xNTI0MzI4MzEvMzQwNDExNTg3LWU5MDMxM2Y0LTlkM2EtNGI2My04YjU0LWNmZTE0ZTdlYzIwZC5zdmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcxNVQwMzE2MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZTJjNGI2MmJhNTMwMzFkYzJkYTFkOGUxOWRjZTlkZjQ0Y2MyM2YzNzM2NWQ4M2RiNWVhN2Q5NDBiNzVjYTk3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZzdmclMkJ4bWwifQ.3_F7q8KJ8abVoP-PfRmTrd49uIHyrjaVfs3DSbnJcFM
Codecovhttps://app.codecov.io/gh/derek73/python-nameparser/pull/237?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Gulbranson
d7ad5b6https://app.codecov.io/gh/derek73/python-nameparser/commit/d7ad5b6c5e55418b5d491e5d9f5895511ad17bd4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Gulbranson
84b81cchttps://app.codecov.io/gh/derek73/python-nameparser/commit/84b81cc9371f2270a28fa72b59bd31085a90b96a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Gulbranson
Codecov GitHub apphttps://github.com/apps/codecov/installations/select_target
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/derek73/python-nameparser/pull/237?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Gulbranson
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Gulbranson
Test Analyticshttps://docs.codecov.com/docs/test-analytics
Please reload this pagehttps://github.com/derek73/python-nameparser/pull/237
https://github.com/derek73
derek73https://github.com/derek73
Jul 6, 2026https://github.com/derek73/python-nameparser/pull/237#event-27583854083
https://github.com/derek73
derek73https://github.com/derek73
bug https://github.com/derek73/python-nameparser/issues?q=state%3Aopen%20label%3Abug
Jul 6, 2026https://github.com/derek73/python-nameparser/pull/237#event-27583855606
https://github.com/derek73
derek73https://github.com/derek73
v1.3.0https://github.com/derek73/python-nameparser/milestone/34
Jul 6, 2026https://github.com/derek73/python-nameparser/pull/237#event-27583856523
Constants(titles='dr') silently shreds a bare string into characters #238 https://github.com/derek73/python-nameparser/issues/238
Assigning hn.C after construction bypasses constants validation and fails far from the cause #239 https://github.com/derek73/python-nameparser/issues/239
https://github.com/derek73
derek73https://github.com/derek73
192d35ehttps://github.com/derek73/python-nameparser/commit/192d35ef5576f77ca2445eb620b2e43c2a95a0e4
Jul 6, 2026https://github.com/derek73/python-nameparser/pull/237#event-27584046807
Please reload this pagehttps://github.com/derek73/python-nameparser/pull/237
https://github.com/derek73
derek73https://github.com/derek73
Jul 6, 2026 https://github.com/derek73/python-nameparser/pull/237#ref-pullrequest-4815571698
Guard remaining config assignment paths against silent corruption #246 https://github.com/derek73/python-nameparser/pull/246
https://github.co/hiddenchars
https://github.com/derek73/python-nameparser/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%2Fderek73%2Fpython-nameparser%2Fpull%2F237
https://github.com/derek73
derek73 https://github.com/derek73
bug https://github.com/derek73/python-nameparser/issues?q=state%3Aopen%20label%3Abug
v1.3.0 https://github.com/derek73/python-nameparser/milestone/34
constants argument silently discards Constants subclasses https://github.com/derek73/python-nameparser/issues/226
Please reload this pagehttps://github.com/derek73/python-nameparser/pull/237
https://github.com/derek73
https://github.com/codecov-commenter
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.