Remi B
Remi B
Agree we should leave the quotes, alternatively but I am not entirely convience because it is a hack we could always regex replace from u'._' into '._' ?
indeed. but you get to keep the quotes it's like picking the bad from the worst.
didn't get your last comment say again ?
Well that is one interpretation and again I am not advocating for the suggested hack at all on the contrary. Maybe a way to think about to is that u'hi'...
Just to clarify are you talking about the same code fragment or that we should not fix this issue ? `raise SchemaWrongKeyError('Wrong keys %s in %r' % (s_wrong_keys, data), e.format(data)...
``` $ ipython Python 2.7.9 (default, Feb 2 2016, 14:47:31) Type "copyright", "credits" or "license" for more information. IPython 5.0.0 -- An enhanced Interactive Python. ? -> Introduction and overview...
As per top post would have been convenient to remove all u characters from the error message including the one in dicts. However I see your point and if you...
If memory serves me right I think I have seen that issue as well may i ll try to put another test case together. Maybe it was a Unicode key...