René's URL Explorer Experiment


Title: Fix ${name:-default} ignoring default for empty values by boriskozak · Pull Request #720 · theskumar/python-dotenv · GitHub

Open Graph Title: Fix ${name:-default} ignoring default for empty values by boriskozak · Pull Request #720 · theskumar/python-dotenv

X Title: Fix ${name:-default} ignoring default for empty values by boriskozak · Pull Request #720 · theskumar/python-dotenv

Description: Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles. - Fix ${name:-default} ignoring default for empty values by boriskozak · Pull Request #720 · theskumar/python-dotenv

Open Graph Description: Fixes #715. Problem: ${name:-default} interpolation ignored the default when the variable was set but empty. Per POSIX, the :- form should expand to the default when the variable is unset or null ...

X Description: Fixes #715. Problem: ${name:-default} interpolation ignored the default when the variable was set but empty. Per POSIX, the :- form should expand to the default when the variable is unset or null ...

Opengraph URL: https://github.com/theskumar/python-dotenv/pull/720

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:88a56e59-9230-7644-dba6-f1d55ba86565
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC52C:238BBD:F6AA5E:1640968:6AFDBAF8
html-safe-nonce1fe2a7cd3c21657c94489bc80a931c4005a881eeac1a7a9e03a9c26bb4f24e81
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJDOjIzOEJCRDpGNkFBNUU6MTY0MDk2ODo2QUZEQkFGOCIsInZpc2l0b3JfaWQiOiIyOTg1MDk5MzY4ODQwNjc0MDQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd802582a455753e42a25d3b17550b36bf0739c9e77628de1cb12fbebaa20a9eb
hovercard-subject-tagpull_request:4736899961
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/theskumar/python-dotenv/720/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d796300958d1c616d2067cd102781f210223d22e4fdc65a0026d0ac71150406a/theskumar/python-dotenv/pull/720
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d796300958d1c616d2067cd102781f210223d22e4fdc65a0026d0ac71150406a/theskumar/python-dotenv/pull/720
og:image:altFixes #715. Problem: ${name:-default} interpolation ignored the default when the variable was set but empty. Per POSIX, the :- form should expand to the default when the variable is unset or null ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameboriskozak
hostnamegithub.com
expected-hostnamegithub.com
None8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4
turbo-cache-controlno-cache
go-importgithub.com/theskumar/python-dotenv git https://github.com/theskumar/python-dotenv.git
octolytics-dimension-user_id236356
octolytics-dimension-user_logintheskumar
octolytics-dimension-repository_id23727790
octolytics-dimension-repository_nwotheskumar/python-dotenv
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id23727790
octolytics-dimension-repository_network_root_nwotheskumar/python-dotenv
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
release2f7154d847f1ddc5baa83b109a3e1d924605e2a3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/theskumar/python-dotenv/pull/720#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F720
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%2Ftheskumar%2Fpython-dotenv%2Fpull%2F720
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=theskumar%2Fpython-dotenv
Reloadhttps://github.com/theskumar/python-dotenv/pull/720
Reloadhttps://github.com/theskumar/python-dotenv/pull/720
Reloadhttps://github.com/theskumar/python-dotenv/pull/720
theskumarhttps://github.com/theskumar
python-dotenvhttps://github.com/theskumar/python-dotenv
Codehttps://github.com/theskumar/python-dotenv
Issues52 (52)https://github.com/theskumar/python-dotenv/issues
Pull requests73 (73)https://github.com/theskumar/python-dotenv/pulls
Actionshttps://github.com/theskumar/python-dotenv/actions
Wikihttps://github.com/theskumar/python-dotenv/wiki
Security and quality1 (1)https://github.com/theskumar/python-dotenv/security
Insightshttps://github.com/theskumar/python-dotenv/pulse
https://github.com/theskumar/python-dotenv
boriskozakhttps://github.com/boriskozak
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
boriskozak:dotenv-715-fixhttps://github.com/boriskozak/python-dotenv/tree/dotenv-715-fix
Conversationhttps://github.com/theskumar/python-dotenv/pull/720
Commits2 (2)https://github.com/theskumar/python-dotenv/pull/720/commits
Checkshttps://github.com/theskumar/python-dotenv/pull/720/checks
Files changedhttps://github.com/theskumar/python-dotenv/pull/720/files
Fix ${name:-default} ignoring default for empty valueshttps://github.com/theskumar/python-dotenv/pull/720#top
boriskozakhttps://github.com/boriskozak
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
boriskozak:dotenv-715-fixhttps://github.com/boriskozak/python-dotenv/tree/dotenv-715-fix
https://github.com/boriskozak
boriskozakhttps://github.com/boriskozak
Oct 4, 2026https://github.com/theskumar/python-dotenv/pull/720#issue-5702422224
#715https://github.com/theskumar/python-dotenv/issues/715
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
https://github.com/boriskozak
Fix ${name:-default} interpolation ignoring default for empty valueshttps://github.com/theskumar/python-dotenv/pull/720/commits/3b1bbb9043fabed9ae06c78ca39ef7ec2ff21fa0
3b1bbb9https://github.com/theskumar/python-dotenv/pull/720/commits/3b1bbb9043fabed9ae06c78ca39ef7ec2ff21fa0
theskumar#715https://github.com/theskumar/python-dotenv/issues/715
https://github.com/MaciejZet
MaciejZethttps://github.com/MaciejZet
Oct 14, 2026https://github.com/theskumar/python-dotenv/pull/720#issuecomment-6176933504
#684https://github.com/theskumar/python-dotenv/pull/684
#684https://github.com/theskumar/python-dotenv/pull/684
#684https://github.com/theskumar/python-dotenv/pull/684
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
https://github.com/boriskozak
fix: use ${name:-default} fallback for bare declarationshttps://github.com/theskumar/python-dotenv/pull/720/commits/c0cd3e211773f97422e5ce9522e91def51bf925a
c0cd3e2https://github.com/theskumar/python-dotenv/pull/720/commits/c0cd3e211773f97422e5ce9522e91def51bf925a
theskumar#715https://github.com/theskumar/python-dotenv/issues/715
https://github.com/boriskozak
boriskozakhttps://github.com/boriskozak
Oct 14, 2026https://github.com/theskumar/python-dotenv/pull/720#issuecomment-6180780011
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
https://github.com/MaciejZet
MaciejZethttps://github.com/MaciejZet
Oct 15, 2026https://github.com/theskumar/python-dotenv/pull/720#issuecomment-6190863836
#684https://github.com/theskumar/python-dotenv/pull/684
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
https://github.com/mayur-dhavan
mayur-dhavanhttps://github.com/mayur-dhavan
Oct 25, 2026 https://github.com/theskumar/python-dotenv/pull/720#ref-pullrequest-6027902860
Fix ${name:-default} ignoring set-but-empty variables #736 https://github.com/theskumar/python-dotenv/pull/736
https://github.co/hiddenchars
https://github.com/theskumar/python-dotenv/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%2Ftheskumar%2Fpython-dotenv%2Fpull%2F720
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
An empty value ignores ${name:-default} https://github.com/theskumar/python-dotenv/issues/715
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/720
https://github.com/boriskozak
https://github.com/MaciejZet
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.