qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 01/16] python: Update for pylint 2.10


From: John Snow
Subject: Re: [PATCH v3 01/16] python: Update for pylint 2.10
Date: Thu, 16 Sep 2021 10:34:27 -0400



On Thu, Sep 16, 2021 at 9:30 AM Alex Bennée <alex.bennee@linaro.org> wrote:

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


Dan had some comments here: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg04031.html

I'm waiting for his reply, but feel free to use this as a build fix in the meantime for testing, I don't think it should hurt anything.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]