From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) by sourceware.org (Postfix) with ESMTPS id C6CC3385E444 for ; Mon, 21 Mar 2022 14:46:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C6CC3385E444 X-ASG-Debug-ID: 1647873986-0c856e06ad8c9fb0001-fS2M51 Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id ttQbFFKaIfGXrYi1 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Mar 2022 10:46:26 -0400 (EDT) X-Barracuda-Envelope-From: simon.marchi@efficios.com X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from epycamd.internal.efficios.com (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtp.ebox.ca (Postfix) with ESMTP id 0B281441B21; Mon, 21 Mar 2022 10:46:26 -0400 (EDT) From: Simon Marchi X-Barracuda-RBL-IP: 192.222.180.24 X-Barracuda-Effective-Source-IP: 192-222-180-24.qc.cable.ebox.net[192.222.180.24] X-Barracuda-Apparent-Source-IP: 192.222.180.24 To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH v2 0/2] Remove Python 2 support Date: Mon, 21 Mar 2022 10:46:22 -0400 X-ASG-Orig-Subj: [PATCH v2 0/2] Remove Python 2 support Message-Id: <20220321144624.1450968-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220107152921.2858909-1-simon.marchi@polymtl.ca> References: <20220107152921.2858909-1-simon.marchi@polymtl.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1647873986 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-Scan-Msg-Size: 3064 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.96805 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-3492.8 required=5.0 tests=BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 14:46:42 -0000 New version of this: https://sourceware.org/pipermail/gdb-patches/2022-January/184910.html Now that the GDB 12 branch has been created, I think we can merge this. Patch 3 ("gdb/python: drop support for Python < 3.4") was dropped. Simon Marchi (2): gdb/python: remove Python 2 support gdb/python: remove Python 2/3 compatibility macros gdb/NEWS | 3 + gdb/config.in | 3 - gdb/configure | 78 +----------------- gdb/configure.ac | 18 ++--- gdb/doc/python.texi | 3 +- gdb/python/lib/gdb/__init__.py | 2 +- gdb/python/lib/gdb/command/explore.py | 22 +++-- gdb/python/lib/gdb/printer/bound_registers.py | 7 +- gdb/python/lib/gdb/printing.py | 9 +-- gdb/python/lib/gdb/xmethod.py | 8 +- gdb/python/py-arch.c | 17 ++-- gdb/python/py-breakpoint.c | 12 +-- gdb/python/py-cmd.c | 10 +-- gdb/python/py-connection.c | 10 +-- gdb/python/py-evts.c | 6 -- gdb/python/py-frame.c | 2 +- gdb/python/py-framefilter.c | 6 +- gdb/python/py-inferior.c | 6 +- gdb/python/py-infthread.c | 4 +- gdb/python/py-lazy-string.c | 2 +- gdb/python/py-membuf.c | 81 ++----------------- gdb/python/py-micmd.c | 8 +- gdb/python/py-objfile.c | 6 +- gdb/python/py-param.c | 24 ++---- gdb/python/py-record-btrace.c | 25 ++---- gdb/python/py-record-full.c | 4 +- gdb/python/py-record.c | 2 +- gdb/python/py-registers.c | 6 +- gdb/python/py-signalevent.c | 2 +- gdb/python/py-symbol.c | 6 +- gdb/python/py-symtab.c | 6 +- gdb/python/py-type.c | 25 ++---- gdb/python/py-unwind.c | 6 +- gdb/python/py-utils.c | 55 ++----------- gdb/python/py-value.c | 66 --------------- gdb/python/py-xmethods.c | 6 +- gdb/python/python-internal.h | 32 -------- gdb/python/python.c | 43 +++------- gdb/testsuite/gdb.python/py-inferior.exp | 6 +- .../py-mi-var-info-path-expression.py | 12 +-- gdb/testsuite/gdb.python/py-record-btrace.exp | 6 +- gdb/testsuite/gdb.python/py-send-packet.py | 58 ++++--------- gdb/testsuite/gdb.python/py-shared.exp | 7 +- gdb/testsuite/gdb.python/py-value.exp | 40 +-------- gdb/testsuite/lib/gdb.exp | 12 --- 45 files changed, 153 insertions(+), 619 deletions(-) -- 2.35.1