Message249802
Simple fix attached. I copied the exit code from this part of the 'while True:' loop.
try:
pdb._runscript(mainpyfile)
if pdb._user_requested_quit:
break
print("The program finished and will be restarted")
I am not sure if the conditional is still needed there.
Xavier, if you have a better patch, please upload it. |
|
Date |
User |
Action |
Args |
2015-09-04 18:19:06 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, asvetlov, xdegaye, rurpy2 |
2015-09-04 18:19:06 | terry.reedy | set | messageid: <1441390746.17.0.817402137308.issue16180@psf.upfronthosting.co.za> |
2015-09-04 18:19:06 | terry.reedy | link | issue16180 messages |
2015-09-04 18:19:05 | terry.reedy | create | |
|