René's URL Explorer Experiment


Title: Add Null Object and Singleton patterns, enhance Specification by abdalwahab-daw · Pull Request #475 · faif/python-patterns · GitHub

Open Graph Title: Add Null Object and Singleton patterns, enhance Specification by abdalwahab-daw · Pull Request #475 · faif/python-patterns

X Title: Add Null Object and Singleton patterns, enhance Specification by abdalwahab-daw · Pull Request #475 · faif/python-patterns

Description: A collection of design patterns/idioms in Python. Contribute to faif/python-patterns development by creating an account on GitHub.

Open Graph Description: Summary This PR adds two new design patterns and enhances an existing one: New Patterns Null Object (Behavioral): Provides a default do-nothing object to eliminate null checks. Includes a Customer...

X Description: Summary This PR adds two new design patterns and enhances an existing one: New Patterns Null Object (Behavioral): Provides a default do-nothing object to eliminate null checks. Includes a Customer...

Opengraph URL: https://github.com/faif/python-patterns/pull/475

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/_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:38648da8-1627-c08e-a51a-2f47af16381a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6D2:34D1AC:366CD5:4D4B8B:6AFC79E3
html-safe-nonce82a844e4b7965467e9f49696f7bb31bcc4c4d7a8f729deac62579c6956b96dea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkQyOjM0RDFBQzozNjZDRDU6NEQ0QjhCOjZBRkM3OUUzIiwidmlzaXRvcl9pZCI6IjYwNzQ3MzU5NjM1MzgyMjU2MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac15b63566cc0f06334ceef470ec9b985728765bab42168dbeef0b62552801002a
hovercard-subject-tagpull_request:3902696605
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/faif/python-patterns/475/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d241844ba5105b5e911363c517d226a804db7719d09ced9e958727b0b7d82a03/faif/python-patterns/pull/475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d241844ba5105b5e911363c517d226a804db7719d09ced9e958727b0b7d82a03/faif/python-patterns/pull/475
og:image:altSummary This PR adds two new design patterns and enhances an existing one: New Patterns Null Object (Behavioral): Provides a default do-nothing object to eliminate null checks. Includes a Customer...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabdalwahab-daw
hostnamegithub.com
expected-hostnamegithub.com
None9967113b19ce6f9ef25d0965e4c359b2d0e9fc51c620530e3c7620782f4589c2
turbo-cache-controlno-cache
go-importgithub.com/faif/python-patterns git https://github.com/faif/python-patterns.git
octolytics-dimension-user_id1304661
octolytics-dimension-user_loginfaif
octolytics-dimension-repository_id4578002
octolytics-dimension-repository_nwofaif/python-patterns
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id4578002
octolytics-dimension-repository_network_root_nwofaif/python-patterns
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
releasee46df04c2d25927b26b614faa158020e4dfe4698
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/faif/python-patterns/pull/475#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F475
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%2Ffaif%2Fpython-patterns%2Fpull%2F475
Sign uphttps://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=faif%2Fpython-patterns
Reloadhttps://github.com/faif/python-patterns/pull/475
Reloadhttps://github.com/faif/python-patterns/pull/475
Reloadhttps://github.com/faif/python-patterns/pull/475
faifhttps://github.com/faif
python-patternshttps://github.com/faif/python-patterns
Codehttps://github.com/faif/python-patterns
Issues9 (9)https://github.com/faif/python-patterns/issues
Pull requests3 (3)https://github.com/faif/python-patterns/pulls
Actionshttps://github.com/faif/python-patterns/actions
Projectshttps://github.com/faif/python-patterns/projects
Wikihttps://github.com/faif/python-patterns/wiki
Security and qualityhttps://github.com/faif/python-patterns/security
Insightshttps://github.com/faif/python-patterns/pulse
https://github.com/faif/python-patterns
abdalwahab-dawhttps://github.com/abdalwahab-daw
faif:masterhttps://github.com/faif/python-patterns/tree/master
abdalwahab-daw:masterhttps://github.com/abdalwahab-daw/python-patterns/tree/master
Conversationhttps://github.com/faif/python-patterns/pull/475
Commits4 (4)https://github.com/faif/python-patterns/pull/475/commits
Checkshttps://github.com/faif/python-patterns/pull/475/checks
Files changedhttps://github.com/faif/python-patterns/pull/475/files
Add Null Object and Singleton patterns, enhance Specificationhttps://github.com/faif/python-patterns/pull/475#top
abdalwahab-dawhttps://github.com/abdalwahab-daw
faif:masterhttps://github.com/faif/python-patterns/tree/master
abdalwahab-daw:masterhttps://github.com/abdalwahab-daw/python-patterns/tree/master
https://github.com/abdalwahab-daw
abdalwahab-dawhttps://github.com/abdalwahab-daw
Jun 20, 2026https://github.com/faif/python-patterns/pull/475#issue-4705549621
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
abdalwahab-dawhttps://github.com/abdalwahab-daw
June 20, 2026 09:11https://github.com/faif/python-patterns/pull/475#commits-pushed-b5f0262
https://github.com/abdalwahab-daw
Add Null Object and Singleton patterns, enhance Specificationhttps://github.com/faif/python-patterns/pull/475/commits/b5f026295b4d7092754db5bb577cb1e79f1f784f
b5f0262https://github.com/faif/python-patterns/pull/475/commits/b5f026295b4d7092754db5bb577cb1e79f1f784f
https://github.com/abdalwahab-daw
Add pytest test suites for Null Object, Specification, and Singletonhttps://github.com/faif/python-patterns/pull/475/commits/7ffb182f5fba022f60ca8ad8fbe30692bd9d1c19
7ffb182https://github.com/faif/python-patterns/pull/475/commits/7ffb182f5fba022f60ca8ad8fbe30692bd9d1c19
https://github.com/abdalwahab-daw
Add patterns_toolkit with reusable templates and real-world exampleshttps://github.com/faif/python-patterns/pull/475/commits/541f3a841bfb4339d77b4949ec2a163068a6ea1a
541f3a8https://github.com/faif/python-patterns/pull/475/commits/541f3a841bfb4339d77b4949ec2a163068a6ea1a
https://github.com/abdalwahab-daw
Add comprehensive practical applications guidehttps://github.com/faif/python-patterns/pull/475/commits/24cb839fb5f80b0d3a688c74dae37909809082f6
24cb839https://github.com/faif/python-patterns/pull/475/commits/24cb839fb5f80b0d3a688c74dae37909809082f6
https://github.com/faif
faifhttps://github.com/faif
Jun 21, 2026 https://github.com/faif/python-patterns/pull/475#pullrequestreview-4539683840
View reviewed changes https://github.com/faif/python-patterns/pull/475/files/24cb839fb5f80b0d3a688c74dae37909809082f6
patterns/creational/singleton.pyhttps://github.com/faif/python-patterns/pull/475/files/24cb839fb5f80b0d3a688c74dae37909809082f6#diff-56d6364e8eb5dca9d0c09a4faffc92bea15f2cec887d694fd4388a7c07c99ea8
faifhttps://github.com/faif
Jun 21, 2026https://github.com/faif/python-patterns/pull/475#discussion_r3448406646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
https://github.com/Ronit049
Ronit049https://github.com/Ronit049
Oct 7, 2026https://github.com/faif/python-patterns/pull/475#issuecomment-6043271719
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
https://github.com/faif
faifhttps://github.com/faif
Oct 9, 2026https://github.com/faif/python-patterns/pull/475#issuecomment-6083427701
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
https://github.co/hiddenchars
https://github.com/faif/python-patterns/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%2Ffaif%2Fpython-patterns%2Fpull%2F475
https://github.com/faif
faif https://github.com/faif
https://github.com/faif/python-patterns/pull/475/files/24cb839fb5f80b0d3a688c74dae37909809082f6
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
Please reload this pagehttps://github.com/faif/python-patterns/pull/475
https://github.com/abdalwahab-daw
https://github.com/Ronit049
https://github.com/faif
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.