]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Merged revisions 87497 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Sun, 26 Dec 2010 22:29:53 +0000 (22:29 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Sun, 26 Dec 2010 22:29:53 +0000 (22:29 +0000)
commit5874ed6cee569a73cd0e947605210822b251df7f
tree804b3a120d312569f8d1d8217ed24dc491391458
parent8e726b4328cc6db1c9524aa4f4d52c4921d9020a
Merged revisions 87497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87497 | r.david.murray | 2010-12-26 14:54:29 -0500 (Sun, 26 Dec 2010) | 7 lines

  #5258/#10642: print fn, line, traceback and continue when .pth file is broken

  If a .pth file contained an error, it could cause a traceback in site.py,
  terminating its processing.  In 2.7 and 3.2, the interpreter will then not
  start.  Previously, a message would print saying to use -v to get the
  traceback.  In either case, the traceback generated for a failed .pth file did
  not include the .pth filename, making it difficult to debug the problem.  Now
  site.py reports not only the .pth filename but also the line number causing the
  error, and just skips the remainder of the file.
........
Lib/site.py
Lib/test/test_site.py
Misc/NEWS