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?
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")
print list_value, list_value is None
print single_value == list_value
You get as output:
<pyhocon.config_tree.NoneValue object at 0xe20ad0> False
I expected both values to be Python's None.
The text was updated successfully, but these errors were encountered:
Merge pull request #133 from movermeyer/issue_132
NoneValue list elements get replaced with None. Fixes #132.
No branches or pull requests