[Python-checkins] r87500 - svn:log

r.david.murray python-checkins at python.org
Mon Dec 27 17:30:20 CET 2010


Author: r.david.murray
Revision: 87500
Property Name: svn:log
Action: modified
Property diff:
--- old property value
+++ new property value
@@ -4,10 +4,13 @@
 ........
 r87497 | r.david.murray | 2010年12月26日 14:54:29 -0500 (2010年12月26日) | 7 lines
 
- ##5258/#10642: print fn, line, traceback and continue when .pth file is broken
+ #5258/#10642: print fn, line, traceback and continue when .pth file is broken
 
- Previously site.py would end with a traceback and not complete the
- initialization of site-packages, but the interpreter would start.
- now site.py does as much initialization as it can, while reporting
- more useful information to help debug the problem in the .pth file.
+ 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. 
 ........


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /