Infinidat/munch

String representations of Munch objects with keys that have spaces in them are not legal python code

odedbadt opened this issue · 0 comments

In [4]: eval("%r" % munch.Munch({'a b': 9}))
  File "<string>", line 1:
    Munch(a b=9)
            ^

SyntaxError: invalid syntax