[Python-checkins] python/dist/src/Lib/logging config.py,1.7,1.8

vsajip at users.sourceforge.net vsajip at users.sourceforge.net
Fri Feb 20 08:16:39 EST 2004


Update of /cvsroot/python/python/dist/src/Lib/logging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11714

Modified Files:
	config.py 
Log Message:
Copyright year change.
Corrections to comments.
Added RESET_ERROR definition.

Index: config.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/logging/config.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config.py	2 Mar 2003 20:47:29 -0000	1.7
--- config.py	20 Feb 2004 13:16:36 -0000	1.8
***************
*** 20,26 ****
  
  Should work under Python versions >= 1.5.2, except that source line
! information is not available unless 'inspect' is.
  
! Copyright (C) 2001-2002 Vinay Sajip. All Rights Reserved.
  
  To use, simply 'import logging' and log away!
--- 20,26 ----
  
  Should work under Python versions >= 1.5.2, except that source line
! information is not available unless 'sys._getframe()' is.
  
! Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
  
  To use, simply 'import logging' and log away!
***************
*** 34,37 ****
--- 34,42 ----
  DEFAULT_LOGGING_CONFIG_PORT = 9030
  
+ if sys.platform == "win32":
+     RESET_ERROR = 10054   #WSAECONNRESET
+ else:
+     RESET_ERROR = 104     #ECONNRESET
+ 
  #
  #   The following code implements a socket listener for on-the-fly




More information about the Python-checkins mailing list