We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following pyhocon file:
single_value = null list_value = [null]
And the following code:
from pyhocon import ConfigFactory config = ConfigFactory.parse_file("test.conf") single_value = config.get("single_value") print single_value, single_value is None list_value = config.get_list("list_value")[0] print list_value, list_value is None print single_value == list_value
You get as output:
None True <pyhocon.config_tree.NoneValue object at 0xe20ad0> False False
I expected both values to be Python's None.
None
The text was updated successfully, but these errors were encountered:
719918e
Merge pull request #133 from movermeyer/issue_132
cfa2118
NoneValue list elements get replaced with None. Fixes #132.
No branches or pull requests
Given the following pyhocon file:
And the following code:
You get as output:
I expected both values to be Python's
None
.The text was updated successfully, but these errors were encountered: