aalba6675

Results 18 comments of aalba6675

May be a low level protobuf issue: if you just print(pb_my_message) enum members of value 0 also don't show up. Also MessageToJson(pb_my_message) also won't have keys whose value is 0....

Minimal reproducer. It seems to be an issue with `resolve_substitutions()` If `derived = ${base}...` appears twice the first one is lost. ``` >>> test = ConfigFactory.parse_string(''' ... base {} ......

I think what is happening: if a key is ConfigValues, when it is resolved to a ConfigTree we do not walk down the linked list of overriden_value and perform resolution...

RFC: Get substitutions from all overriden_values as well ``` @@ -423,7 +424,17 @@ class ConfigValues(object): return len(self.get_substitutions()) > 0 def get_substitutions(self): - return [token for token in self.tokens if isinstance(token,...

The `merge_configs()` method is merging the top config into the base confiig and returning the latter. RFC: for #95 and #105: how about using `deepcopy` in `with_fallback`? Smoke testing the...

Smoketest #105: ``` >>> from pyhocon.config_tree import ConfigTree as CT >>> config_tree = CT() >>> >>> config_tree.put("a.b.c", value1) >>> assert config_tree.get("a.b.c") == value1 >>> >>> config_tree.put("a.b.c", value2) >>> assert config_tree.get("a.b.c")...

Return a new object; don't mutate object and argument in `config2.with_fallback(config1)` Smoketest #95: ``` >>> >>> from pyhocon.config_parser import ConfigParser as CP, ConfigFactory as CF >>> >>> config1 = CF.parse_string('''...

Let me document something here while I still have access to Gemalto SafeNet (== standalone version of CloudHSM v1). With commit https://github.com/danni/python-pkcs11/commit/bc372de1485c7cd4cb37aeda2a30cbcd493b53e1: `unwrap_key` now works (`AES-CBC-PAD`, `DES3-CBC-PAD` of a private...

With 1.4, there seems to be only one single process calamari-lite (hosting in-memory "carbon-cache", cthulhu and REST API). Seems it can be simplified to a single systemd unit. ``` [Unit]...