Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: /
Date: Thu, 31 Mar 2022 03:31:35
Message-Id: 1648694453.2df18d7dce0be89c767a178fe3cad5dadb3b0d27.perfinion@gentoo
1 commit: 2df18d7dce0be89c767a178fe3cad5dadb3b0d27
2 Author: Christian Göttsche <cgzones <AT> googlemail <DOT> com>
3 AuthorDate: Tue Mar 22 17:06:40 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 02:40:53 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2df18d7d
7
8 Makefile: invoke python with -bb
9
10 Fail on python code calling str(bytes_instance) or
11 str(bytearray_instance), or comparing bytes/bytearray with str.
12
13 Signed-off-by: Christian Göttsche <cgzones <AT> googlemail.com>
14 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
15
16 Makefile | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/Makefile b/Makefile
20 index ed4a4c40..9b5069b9 100644
21 --- a/Makefile
22 +++ b/Makefile
23 @@ -72,7 +72,7 @@ AWK ?= gawk
24 GREP ?= egrep
25 INSTALL ?= install
26 M4 ?= m4 -E -E
27 -PYTHON ?= python3 -t -t -E -W error
28 +PYTHON ?= python3 -bb -t -t -E -W error
29 SED ?= sed
30 SORT ?= LC_ALL=C sort
31 UMASK ?= umask