qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Update check-python-tox test for pylint 2.10
@ 2021-09-15  5:30 John Snow
  2021-09-15  5:30 ` [PATCH v2 1/1] python: Update " John Snow
  2021-09-15  9:10 ` [PATCH v2 0/1] Update check-python-tox test " Daniel P. Berrangé
  0 siblings, 2 replies; 4+ messages in thread
From: John Snow @ 2021-09-15  5:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eric Blake, Cleber Rosa, John Snow, Eduardo Habkost,
	G S Niteesh Babu

V2: It's not safe to use sys.stderr.encoding to determine a "console
encoding", because that uses the "current" stderr and not a
hypothetically generic one -- and doing this causes the acceptance tests
to fail.

Use UTF-8 instead.

Question: What encoding do terminal programs use? Is there an inherent
encoding to fprintf et al, or does it just push whatever bytes you put
into it straight into the stdout/stderr pipe?

John Snow (1):
  python: Update for pylint 2.10

 python/qemu/machine/machine.py | 3 ++-
 python/setup.cfg               | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.31.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-15 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-15  5:30 [PATCH v2 0/1] Update check-python-tox test for pylint 2.10 John Snow
2021-09-15  5:30 ` [PATCH v2 1/1] python: Update " John Snow
2021-09-15  9:10 ` [PATCH v2 0/1] Update check-python-tox test " Daniel P. Berrangé
2021-09-15 12:54   ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).