Art <grenan...@gmail.com> wrote:

> If I am in Pdb, I would like to set a temporary variable, for example:
> 
> (Pdb) r = 1
> 
> The 'r' gets interpreted as 'return' by Pdb.
> 
> Is there a Pdb instruction that guarantees the intended effect, like:
> 
> (Pdb) let r = 1

(Pdb) exec "r=1"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to