loganasherjones / yapconf

Yet Another Python Configuration
http://yapconf.readthedocs.io/en/stable/
MIT License
18 stars 4 forks source link

Unicode values in Python 2.7 #82

Closed loganasherjones closed 6 years ago

loganasherjones commented 6 years ago

Oh unicode. I love you so much.

Another bug. This time, if you have unicode values in your dictionary, when the dictionary dumps the data out using yaml.dump it shows up like `!!python/unicode config: !!python/unicode value:``

This is not the intended behavior, and should be: config: value

I'm pretty sure we just need to use safe_dump instead of dump.