[Python-checkins] CVS: python/dist/src/Lib __future__.py,1.1,1.2 inspect.py,1.1,1.2 pydoc.py,1.6,1.7 urllib.py,1.118,1.119 webbrowser.py,1.12,1.13

Tim Peters tim_one@users.sourceforge.net
Wed, 28 Feb 2001 00:26:46 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv9663/python/dist/src/Lib

Modified Files:
	__future__.py inspect.py pydoc.py urllib.py webbrowser.py 
Log Message:
Whitespace normalization.


Index: __future__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/__future__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** __future__.py	2001/02/26 21:14:49	1.1
--- __future__.py	2001/02/28 08:26:44	1.2
***************
*** 25,33 ****
  was accepted.
  
! In the case of MandatoryReleases that have not yet occurred, 
! MandatoryRelease predicts the release in which the feature will become part 
  of the language.
  
! Else MandatoryRelease records when the feature became part of the language; 
  in releases at or after that, modules no longer need
  
--- 25,33 ----
  was accepted.
  
! In the case of MandatoryReleases that have not yet occurred,
! MandatoryRelease predicts the release in which the feature will become part
  of the language.
  
! Else MandatoryRelease records when the feature became part of the language;
  in releases at or after that, modules no longer need
  
***************
*** 36,40 ****
  to use the feature in question, but may continue to use such imports.
  
! MandatoryRelease may also be None, meaning that a planned feature got 
  dropped.
  
--- 36,40 ----
  to use the feature in question, but may continue to use such imports.
  
! MandatoryRelease may also be None, meaning that a planned feature got
  dropped.
  

Index: inspect.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/inspect.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** inspect.py	2001/02/27 14:43:21	1.1
--- inspect.py	2001/02/28 08:26:44	1.2
***************
*** 613,616 ****
  
  def trace(context=1):
!     """Return a list of records for the stack below the current exception.""" 
      return getinnerframes(sys.exc_traceback, context)
--- 613,616 ----
  
  def trace(context=1):
!     """Return a list of records for the stack below the current exception."""
      return getinnerframes(sys.exc_traceback, context)

Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** pydoc.py	2001/02/27 23:36:29	1.6
--- pydoc.py	2001/02/28 08:26:44	1.7
***************
*** 446,450 ****
                          modnames.append(modname)
                      elif ispackage(path):
!                             modpkgs.append((file, name, 1, 0))
              modpkgs.sort()
              contents = self.multicolumn(modpkgs, self.modpkglink)
--- 446,450 ----
                          modnames.append(modname)
                      elif ispackage(path):
!                         modpkgs.append((file, name, 1, 0))
              modpkgs.sort()
              contents = self.multicolumn(modpkgs, self.modpkglink)
***************
*** 577,581 ****
          for file in files:
              path = os.path.join(dir, file)
!             if file[:1] != '_' and os.path.isfile(path): 
                  modname = modulename(file)
                  if modname: found(modname, 0)
--- 577,581 ----
          for file in files:
              path = os.path.join(dir, file)
!             if file[:1] != '_' and os.path.isfile(path):
                  modname = modulename(file)
                  if modname: found(modname, 0)

Index: urllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib.py,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -r1.118 -r1.119
*** urllib.py	2001/02/27 06:27:04	1.118
--- urllib.py	2001/02/28 08:26:44	1.119
***************
*** 562,566 ****
          http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
          if not headers.has_key('www-authenticate'):
!             URLopener.http_error_default(self, url, fp, 
                                           errmsg, headers)
          stuff = headers['www-authenticate']
--- 562,566 ----
          http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
          if not headers.has_key('www-authenticate'):
!             URLopener.http_error_default(self, url, fp,
                                           errmsg, headers)
          stuff = headers['www-authenticate']
***************
*** 568,576 ****
          match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
          if not match:
!             URLopener.http_error_default(self, url, fp, 
                                           errcode, errmsg, headers)
          scheme, realm = match.groups()
          if scheme.lower() != 'basic':
!             URLopener.http_error_default(self, url, fp, 
                                           errcode, errmsg, headers)
          name = 'retry_' + self.type + '_basic_auth'
--- 568,576 ----
          match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
          if not match:
!             URLopener.http_error_default(self, url, fp,
                                           errcode, errmsg, headers)
          scheme, realm = match.groups()
          if scheme.lower() != 'basic':
!             URLopener.http_error_default(self, url, fp,
                                           errcode, errmsg, headers)
          name = 'retry_' + self.type + '_basic_auth'

Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** webbrowser.py	2001/02/27 18:44:14	1.12
--- webbrowser.py	2001/02/28 08:26:44	1.13
***************
*** 155,159 ****
                  def open(self, url, new=1, autoraise=1):
                      # XXX Currently I know no way to prevent KFM from
!                     # opening a new win. 
                      self._remote("openURL %s" % url)
  
--- 155,159 ----
                  def open(self, url, new=1, autoraise=1):
                      # XXX Currently I know no way to prevent KFM from
!                     # opening a new win.
                      self._remote("openURL %s" % url)