From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 68704385828C; Wed, 28 Feb 2024 09:27:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68704385828C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709112470; bh=+2BVZHEAB/wknOwdLz+448603C/RXGlWhUjiKGToLMU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xOUJz9FOl3NAHjeUR9raQLikOPzN9UKYjcGwvI5Fr5FD3jD10ddU4D092kjQHpgws ev5qOr+iKoASuYTGxs28T5dZf0AJhGHqPUIeEVduymT1Y4hoa7r25TVT/+ttjuHOUi fWJ0FjGiAWXlByKeadf8CGmVKexs0g5BAbqKW5QY= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/31425] [gdb/python, 3.12] FAIL: gdb.python/py-block.exp: check nonexistent variable Date: Wed, 28 Feb 2024 09:27:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31425 --- Comment #1 from Tom de Vries --- In contrast, on x86_64-linux, with python 3.6. Before the commit we have: ... (gdb) python print (block['nonexistent'])^M Traceback (most recent call last):^M File "", line 1, in ^M KeyError: 'nonexistent'^M (gdb) PASS: gdb.python/py-block.exp: check nonexistent variable ... and after the commit: ... (gdb) python print (block['nonexistent'])^M Python Exception : nonexistent^M Error occurred in Python: nonexistent^M (gdb) PASS: gdb.python/py-block.exp: check nonexistent variable ... --=20 You are receiving this mail because: You are on the CC list for the bug.=