[issue13044] pdb throws AttributeError at end of debugging session

akl report at bugs.python.org
Sun Sep 25 18:36:22 CEST 2011


New submission from akl <lagrangian at gmail.com>:

Using Python 2.7.1 on OpenBSD-current and 2.7.2 on Arch Linux, pdb throws a (harmless, it appears) exception at the end of a debugging session.  This does not happen for me using Python 2.5 or 2.6 or 3.2.

Console Session (on linux):

$ python2 --version
Python 2.7.2

$ python2 debug.py 
> /tmp/debug.py(4)<module>()
-> a = 1
(Pdb) n
> /tmp/debug.py(5)<module>()
-> b = 2
(Pdb) n
> /tmp/debug.py(6)<module>()
-> sum = a + b
(Pdb) n
--Return--
> /tmp/debug.py(6)<module>()->None
-> sum = a + b
(Pdb) n
Exception AttributeError: "'NoneType' object has no attribute 'path'" in <function _remove at 0xb73b6df4> ignore

----------
components: Library (Lib)
files: debug.py
messages: 144525
nosy: akl
priority: normal
severity: normal
status: open
title: pdb throws AttributeError at end of debugging session
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file23242/debug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13044>
_______________________________________


More information about the Python-bugs-list mailing list