Re: question about pdb assignment statements

2010-08-17 Thread Steve Ferg
Thanks mucho!! -- http://mail.python.org/mailman/listinfo/python-list

Re: question about pdb assignment statements

2010-08-16 Thread Kev Dwyer
On Mon, 16 Aug 2010 08:17:20 -0700, Steve Ferg wrote: > In this little script: > > > import pdb > pdb.set_trace() > def main(): > xm = 123 > print("Hello,world!") > main() > > > When I run this, I use pdb to step through it until I reach the point in > main() where the xm varia

Re: question about pdb assignment statements

2010-08-16 Thread Kev Dwyer
On Mon, 16 Aug 2010 08:17:20 -0700, Steve Ferg wrote: > In this little script: > > > import pdb > pdb.set_trace() > def main(): > xm = 123 > print("Hello,world!") > main() > > > When I run this, I use pdb to step through it until I reach the point in > main() where the xm varia

question about pdb assignment statements

2010-08-16 Thread Steve Ferg
In this little script: import pdb pdb.set_trace() def main(): xm = 123 print("Hello,world!") main() When I run this, I use pdb to step through it until I reach the point in main() where the xm variable has been initialized, and then I try to use pdb to reset the value of xm, and