use ConstantDict from vsc.utils.missing