The reason is because {**A, **B} is supported after python 3.5.
Note:
def merge_dicts(*dict_args):
"""
Given any number of dicts, shallow copy and merge into a new dict,
precedence goes to key value pairs in latter dicts.
"""
result = {}
for dictionary in dict_args:
result.update(dictionary)
return result
Hi @bbalasub1 ,
In
glmnetSet.py
andglmnetControl.py
, there are two lines that are not compatible with python 3.4.5:In python 3.4.5, the below works:
The reason is because
{**A, **B}
is supported after python 3.5.Note: