[issue10088] pdb can't re-set variables

2010-10-13 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : Not sure if this is on purpose but I've lost quite some time to debug this problem. --- code --- def foo(): bar = 1 import pdb; pdb.set_trace() foo() --- pdb session --- (Pdb) dir() ['__return__', 'bar', 'pdb'] (Pdb) bar 1 (Pdb) bar = 2 (Pd

[issue10088] pdb can't re-set variables

2010-10-13 Thread Mark Dickinson
Mark Dickinson added the comment: What versions of Python does this apply to? Is this a duplicate of issue 5215? -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue10088] pdb can't re-set variables

2010-10-13 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: It seems it's a duplicate of issue 5215 and I was using Python 2.6. msg114103 states that the fix wasn't ported to 2.6 so I'm closing this out as invalid. -- resolution: -> invalid status: open -> closed versions: +Python 2.6 _