[Python-checkins] CVS: python/dist/src/Lib Queue.py,1.10,1.11 binhex.py,1.12,1.13 calendar.py,1.15,1.16 fnmatch.py,1.7,1.8 locale.py,1.6,1.7 posixpath.py,1.30,1.31 sgmllib.py,1.19,1.20 site.py,1.11,1.12 urllib2.py,1.3,1.4 xmllib.py,1.18,1.19

Jeremy Hylton python-dev@python.org
Wed, 28 Jun 2000 07:48:04 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv723/Lib

Modified Files:
	Queue.py binhex.py calendar.py fnmatch.py locale.py 
	posixpath.py sgmllib.py site.py urllib2.py xmllib.py 
Log Message:
typos fixed by Rob Hooft


Index: Queue.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/Queue.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Queue.py	2000/02/02 15:10:14	1.10
--- Queue.py	2000/06/28 14:48:01	1.11
***************
*** 120,124 ****
          return len(self.queue)
  
!     # Check wheter the queue is empty
      def _empty(self):
          return not self.queue
--- 120,124 ----
          return len(self.queue)
  
!     # Check whether the queue is empty
      def _empty(self):
          return not self.queue

Index: binhex.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/binhex.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** binhex.py	2000/02/04 15:39:29	1.12
--- binhex.py	2000/06/28 14:48:01	1.13
***************
*** 14,18 ****
  # We seem to lack a simple character-translate in python.
  # (we should probably use ISO-Latin-1 on all but the mac platform).
! # XXXX The simeple routines are too simple: they expect to hold the complete
  # files in-core. Should be fixed.
  # XXXX It would be nice to handle AppleDouble format on unix
--- 14,18 ----
  # We seem to lack a simple character-translate in python.
  # (we should probably use ISO-Latin-1 on all but the mac platform).
! # XXXX The simple routines are too simple: they expect to hold the complete
  # files in-core. Should be fixed.
  # XXXX It would be nice to handle AppleDouble format on unix
***************
*** 49,53 ****
          openrf = MacOS.openrf
      except AttributeError:
!         # Backward compatability
          openrf = open
      
--- 49,53 ----
          openrf = MacOS.openrf
      except AttributeError:
!         # Backward compatibility
          openrf = open
      

Index: calendar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/calendar.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** calendar.py	2000/02/02 15:10:14	1.15
--- calendar.py	2000/06/28 14:48:01	1.16
***************
*** 1,5 ****
  """Calendar printing functions"""
  
! # Revision 2: uses funtions from built-in time module
  
  # Import functions and variables from time module
--- 1,5 ----
  """Calendar printing functions"""
  
! # Revision 2: uses functions from built-in time module
  
  # Import functions and variables from time module

Index: fnmatch.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/fnmatch.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** fnmatch.py	1997/10/22 20:57:40	1.7
--- fnmatch.py	2000/06/28 14:48:01	1.8
***************
*** 37,41 ****
  
  def fnmatchcase(name, pat):
! 	"""Test wheter FILENAME matches PATTERN, including case.
  	
  	This is a version of fnmatch() which doesn't case-normalize
--- 37,41 ----
  
  def fnmatchcase(name, pat):
! 	"""Test whether FILENAME matches PATTERN, including case.
  	
  	This is a version of fnmatch() which doesn't case-normalize

Index: locale.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/locale.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** locale.py	2000/06/08 17:49:41	1.6
--- locale.py	2000/06/28 14:48:01	1.7
***************
*** 221,225 ****
          The language code corresponds to RFC 1766.  code and encoding
          can be None in case the values cannot be determined or are
!         unkown to this implementation.
  
      """
--- 221,225 ----
          The language code corresponds to RFC 1766.  code and encoding
          can be None in case the values cannot be determined or are
!         unknown to this implementation.
  
      """
***************
*** 230,234 ****
          return None, None
      else:
!         raise ValueError,'unkown locale: %s' % localename
      return l
  
--- 230,234 ----
          return None, None
      else:
!         raise ValueError,'unknown locale: %s' % localename
      return l
  

Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** posixpath.py	2000/02/29 13:31:16	1.30
--- posixpath.py	2000/06/28 14:48:01	1.31
***************
*** 25,29 ****
  
  
! # Return wheter a path is absolute.
  # Trivial in Posix, harder on the Mac or MS-DOS.
  
--- 25,29 ----
  
  
! # Return whether a path is absolute.
  # Trivial in Posix, harder on the Mac or MS-DOS.
  
***************
*** 305,309 ****
  # Expand paths containing shell variable substitutions.
  # This expands the forms $variable and ${variable} only.
! # Non-existant variables are left unchanged.
  
  _varprog = None
--- 305,309 ----
  # Expand paths containing shell variable substitutions.
  # This expands the forms $variable and ${variable} only.
! # Non-existent variables are left unchanged.
  
  _varprog = None

Index: sgmllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sgmllib.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** sgmllib.py	2000/02/04 15:28:40	1.19
--- sgmllib.py	2000/06/28 14:48:01	1.20
***************
*** 48,52 ****
  # (Tags are converted to lower case for this purpose.)  The data
  # between tags is passed to the parser by calling self.handle_data()
! # with some data as argument (the data may be split up in arbutrary
  # chunks).  Entity references are passed by calling
  # self.handle_entityref() with the entity reference as argument.
--- 48,52 ----
  # (Tags are converted to lower case for this purpose.)  The data
  # between tags is passed to the parser by calling self.handle_data()
! # with some data as argument (the data may be split up in arbitrary
  # chunks).  Entity references are passed by calling
  # self.handle_entityref() with the entity reference as argument.

Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** site.py	2000/06/07 09:12:09	1.11
--- site.py	2000/06/28 14:48:01	1.12
***************
*** 123,127 ****
  # Set the string encoding used by the Unicode implementation to the
  # encoding used by the default locale of this system. If the default
! # encoding cannot be determined or is unkown, it defaults to 'ascii'.
  #
  def locale_aware_defaultencoding():
--- 123,127 ----
  # Set the string encoding used by the Unicode implementation to the
  # encoding used by the default locale of this system. If the default
! # encoding cannot be determined or is unknown, it defaults to 'ascii'.
  #
  def locale_aware_defaultencoding():

Index: urllib2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** urllib2.py	2000/02/10 17:17:14	1.3
--- urllib2.py	2000/06/28 14:48:01	1.4
***************
*** 142,146 ****
  
  # do these error classes make sense?
! # make sure all of the IOError stuff is overriden.  we just want to be 
   # subtypes.
  
--- 142,146 ----
  
  # do these error classes make sense?
! # make sure all of the IOError stuff is overridden.  we just want to be 
   # subtypes.
  

Index: xmllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xmllib.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** xmllib.py	2000/06/21 20:01:10	1.18
--- xmllib.py	2000/06/28 14:48:01	1.19
***************
*** 80,84 ****
  # and </foo>, respectively.  The data between tags is passed to the
  # parser by calling self.handle_data() with some data as argument (the
! # data may be split up in arbutrary chunks).
  
  class XMLParser:
--- 80,84 ----
  # and </foo>, respectively.  The data between tags is passed to the
  # parser by calling self.handle_data() with some data as argument (the
! # data may be split up in arbitrary chunks).
  
  class XMLParser: