[New-bugs-announce] [issue10088] pdb can't re-set variables
report at bugs.python.org
Wed Oct 13 18:01:24 CEST 2010
New submission from Giampaolo Rodola' <g.rodola at gmail.com>:
Not sure if this is on purpose but I've lost quite some time to debug this problem.
--- code ---
bar = 1
import pdb; pdb.set_trace()
--- pdb session ---
['__return__', 'bar', 'pdb']
(Pdb) bar = 2
If this is on purpose (pdb just CAN'T do it) then I would expect it to display an error of some kind when I enter "bar = 2", say: "*** NameError: 'foo' is a reserved name".
title: pdb can't re-set variables
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce