small dict change to improve py3 compatibility (also faster)
Merge branch 'dict_concat'