-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Null type values for TOML #802
Comments
I'm intentionally holding my tongue for now. In any case, this is a post-v1.0.0 issue. |
@xcodz-dot See:
Personally I don't think there's a meaningful difference between an explicit |
Great for me now, I will figure out a way to customize the python side toml for my needs |
My take (and this came up in uiri/toml) was that a Python I don't believe nulls belong in configurations. They're the wrong tool for the job, and they're more trouble than they're worth. That's why I consider them invalid. That doesn't necessarily extend to other uses, but even in SQL, nulls are a pain. And most SQL variants use strongly typed columns and variables; a NULL in context has an underlying data type. Nulls in a config would just be dead weight. |
Amen. Nullability is always such a PITA |
Some issues caused by not having null are discussed in this thread: https://twitter.com/mitsuhiko/status/1346455555435593729 |
Adding Null type values
Pro:
null
or any other name for it to be used in such casesCons:
null
can be replaced asnone
,nothing
, etc.The text was updated successfully, but these errors were encountered: