New submission from Xavier de Gaye:

To reproduce the crash run the following two-lines script and, at the fisrt 
(Pdb) prompt, remove the last line of this script (and the following empty 
lines if any):

import pdb; pdb.set_trace()
x = 1

then issue the 'quit' pdb command. This will cause an assert:

python: Objects/abstract.c:2079: PyObject_Call: Assertion `!PyErr_Occurred()' 
failed.
Aborted (core dumped)

A patch is attached.

----------
components: Interpreter Core
files: traceback.patch
keywords: patch
messages: 230247
nosy: xdegaye
priority: normal
severity: normal
status: open
title: PyObject_Call called with an exception set while displaying a traceback
type: crash
versions: Python 3.5
Added file: http://bugs.python.org/file37070/traceback.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22762>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to