From 37257e241da52ae4fc75d7f5f9f0f9d8eef9ffb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 22 Mar 2022 18:06:40 +0100 Subject: [PATCH] Makefile: invoke python with -bb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fail on python code calling str(bytes_instance) or str(bytearray_instance), or comparing bytes/bytearray with str. Signed-off-by: Christian Göttsche --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ba1fc806f..a77aaf757 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ AWK ?= gawk GREP ?= egrep INSTALL ?= install M4 ?= m4 -E -E -PYTHON ?= python3 -t -t -E -W error +PYTHON ?= python3 -bb -t -t -E -W error SED ?= sed SORT ?= LC_ALL=C sort UMASK ?= umask