Describe the bug
DictConfig with None as value does not get treated as None
side note: OmegaConf.create(None) == None returns True, but itsn't a valid way to solve the problem cause that triggers flake8 and such...
To Reproduce
print(OmegaConf.create(None) is None) # returns False
Expected behavior
print(OmegaConf.create(None) is None) # returns True
Additional context
[x] OmegaConf version: 2.3.0
[x] Python version: 3.9.0
[x] Operating system:Ubuntu 22.04.4 LTS
[x] Please provide a minimal repro
from omegaconf import OmegaConf
print(OmegaConf.create(None) is None) # False
Describe the bug DictConfig with None as value does not get treated as None side note:
OmegaConf.create(None) == None
returnsTrue
, but itsn't a valid way to solve the problem cause that triggers flake8 and such...To Reproduce
Expected behavior
Additional context