[Python-checkins] CVS: python/dist/src/Lib site.py,1.30,1.31

Guido van Rossum gvanrossum@users.sourceforge.net
2001年7月20日 07:57:14 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11686
Modified Files:
	site.py 
Log Message:
Copying this 2.1.1 bugfix to the trunk:
Fix showstopper SF bug #442983: use of site.addsitedir() was broken
because it references the global dirs_in_sys_path which is deleted.
The fix avoids deleting that global.
(My email through python.org or digicool.com is non-functional at the
moment; use gvanrossum@home.com to reach me.)
Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** site.py	2001年07月12日 21:08:33	1.30
--- site.py	2001年07月20日 14:57:12	1.31
***************
*** 152,156 ****
 addsitedir(sitedir)
 
- del dirs_in_sys_path
 
 # Define new built-ins 'quit' and 'exit'.
--- 152,155 ----

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