"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Lib/pdb.py" between
Python-3.9.3.tar.xz and Python-3.9.4.tar.xz

About: Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. Newest major release.

pdb.py  (Python-3.9.3.tar.xz):pdb.py  (Python-3.9.4.tar.xz)
skipping to change at line 1705 skipping to change at line 1705
try: try:
if run_as_module: if run_as_module:
pdb._runmodule(mainpyfile) pdb._runmodule(mainpyfile)
else: else:
pdb._runscript(mainpyfile) pdb._runscript(mainpyfile)
if pdb._user_requested_quit: if pdb._user_requested_quit:
break break
print("The program finished and will be restarted") print("The program finished and will be restarted")
except Restart: except Restart:
print("Restarting", mainpyfile, "with arguments:") print("Restarting", mainpyfile, "with arguments:")
print("\t" + " ".join(args)) print("\t" + " ".join(sys.argv[1:]))
except SystemExit: except SystemExit:
# In most cases SystemExit does not warrant a post-mortem session. # In most cases SystemExit does not warrant a post-mortem session.
print("The program exited via sys.exit(). Exit status:", end=' ') print("The program exited via sys.exit(). Exit status:", end=' ')
print(sys.exc_info()[1]) print(sys.exc_info()[1])
except SyntaxError: except SyntaxError:
traceback.print_exc() traceback.print_exc()
sys.exit(1) sys.exit(1)
except: except:
traceback.print_exc() traceback.print_exc()
print("Uncaught exception. Entering post mortem debugging") print("Uncaught exception. Entering post mortem debugging")
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)