[PATCH] contrib: add unicode/utf8-dump.py

Martin Liška mliska@suse.cz
Mon Nov 1 14:36:40 GMT 2021


On 11/1/21 15:14, David Malcolm via Gcc-patches wrote:
> |This script may be useful when debugging issues relating to Unicode encoding (e.g. when investigating source files with bidirectional control characters).|

I like the script except the following flake8 issues:

$ flake8 contrib/unicode/utf8-dump.py
contrib/unicode/utf8-dump.py:35:1: E302 expected 2 blank lines, found 1
contrib/unicode/utf8-dump.py:43:1: E302 expected 2 blank lines, found 1
contrib/unicode/utf8-dump.py:53:1: E302 expected 2 blank lines, found 1
contrib/unicode/utf8-dump.py:64:1: E305 expected 2 blank lines after class or function definition, found 1

Martin


More information about the Gcc-patches mailing list