|
From: | Alex Bennée |
Subject: | Re: [PATCH v3 01/16] python: Update for pylint 2.10 |
Date: | Thu, 16 Sep 2021 14:28:04 +0100 |
User-agent: | mu4e 1.7.0; emacs 28.0.50 |
John Snow <jsnow@redhat.com> writes: > A few new annoyances. Of note is the new warning for an unspecified > encoding when opening a text file, which actually does indicate a > potentially real problem; see > https://www.python.org/dev/peps/pep-0597/#motivation > > Use LC_CTYPE to determine an encoding to use for interpreting QEMU's > terminal output. Note that Python states: "language code and encoding > may be None if their values cannot be determined" -- use a platform > default as a backup. > > Signed-off-by: John Snow <jsnow@redhat.com> I've cherry-picked this one into my testing/next because it fixes a failure but in case you get it merged elsewhere: Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |