This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_gdb fails on invalid gdbinit
Type: behavior Stage:
Components: Tests Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: lekensteyn, vstinner
Priority: normal Keywords:

Created on 2014-08-12 21:09 by lekensteyn, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg225245 - (view) Author: Peter Wu (lekensteyn) Date: 2014-08-12 21:09
I had a stale ~/.gdbinit file which tried to executed python code causing an exception. The tests should probably run with `-nx` or `-nh` to avoid reading ~/.gdbinit.
msg225395 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-08-16 12:39
New changeset ecb97f8ea31c by Victor Stinner in branch '2.7':
Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
http://hg.python.org/cpython/rev/ecb97f8ea31c

New changeset 320856a0a635 by Victor Stinner in branch '3.4':
Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
http://hg.python.org/cpython/rev/320856a0a635

New changeset 247c9b948784 by Victor Stinner in branch 'default':
(Merge 3.4) Closes #22188: test_gdb now runs gdb with -nx: "Do not execute
http://hg.python.org/cpython/rev/247c9b948784
msg225396 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-08-16 12:39
It sounds reasonable to ignore gdbinit files.
History
Date User Action Args
2022-04-11 14:58:06adminsetgithub: 66384
2014-08-16 12:40:09vstinnersetversions: + Python 2.7, Python 3.5
2014-08-16 12:39:57vstinnersetnosy: + vstinner, - python-dev
messages: + msg225396
stage: resolved ->
2014-08-16 12:39:28python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg225395

resolution: fixed
stage: resolved
2014-08-12 21:09:57lekensteyncreate