[New-bugs-announce] [issue26794] curframe can be None in pdb.py
Jacek Pliszka
report at bugs.python.org
Mon Apr 18 03:47:44 EDT 2016
New submission from Jacek Pliszka:
In /usr/lib64/python2.7/pdb.py in
Pdb.default there is line:
globals = self.curframe.f_globals
curframe can be None so the line should be replaced by:
globals = getattr(self.curframe, "f_globals", None) if hasattr(self, 'curframe') else None
or something should be done in different way in setup
----------
components: Library (Lib)
messages: 263652
nosy: Jacek.Pliszka
priority: normal
severity: normal
status: open
title: curframe can be None in pdb.py
type: crash
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26794>
_______________________________________
More information about the New-bugs-announce
mailing list