Re: [Mesa-dev] [PATCH 24/26] python: Use the unicode_escape codec

2018-07-05 Thread Dylan Baker
Reviewed-by: Dylan Baker Quoting Mathieu Bridon (2018-07-05 06:17:55) > Python 2 had string_escape and unicode_escape codecs. Python 3 only has > the latter. These work the same as far as we're concerned, so let's use > the future-proof one. > > However, the reste of the code expects unicode

[Mesa-dev] [PATCH 24/26] python: Use the unicode_escape codec

2018-07-05 Thread Mathieu Bridon
Python 2 had string_escape and unicode_escape codecs. Python 3 only has the latter. These work the same as far as we're concerned, so let's use the future-proof one. However, the reste of the code expects unicode strings, so we need to decode them again. Signed-off-by: Mathieu Bridon ---