Author terry.reedy
Recipients asvetlov, georg.brandl, rurpy2, terry.reedy, xdegaye
Date 2015-09-04.18:19:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441390746.17.0.817402137308.issue16180@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-09-04 18:19:06terry.reedysetrecipients: + terry.reedy, georg.brandl, asvetlov, xdegaye, rurpy2
2015-09-04 18:19:06terry.reedysetmessageid: <1441390746.17.0.817402137308.issue16180@psf.upfronthosting.co.za>
2015-09-04 18:19:06terry.reedylinkissue16180 messages
2015-09-04 18:19:05terry.reedycreate