[Python-checkins] CVS: python/dist/src/Lib bdb.py,1.35,1.36 macpath.py,1.31,1.32

Neal Norwitz nnorwitz@users.sourceforge.net
Sun, 31 Mar 2002 05:58:22 -0800


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

Modified Files:
	bdb.py macpath.py 
Log Message:
Stop using string exceptions

Index: bdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bdb.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** bdb.py	25 Feb 2002 23:23:24 -0000	1.35
--- bdb.py	31 Mar 2002 13:58:20 -0000	1.36
***************
*** 7,11 ****
  __all__ = ["BdbQuit","Bdb","Breakpoint"]
  
! BdbQuit = 'bdb.BdbQuit' # Exception to give up completely
  
  
--- 7,11 ----
  __all__ = ["BdbQuit","Bdb","Breakpoint"]
  
! class BdbQuit(Exception): pass
  
  

Index: macpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/macpath.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** macpath.py	10 Oct 2001 04:16:20 -0000	1.31
--- macpath.py	31 Mar 2002 13:58:20 -0000	1.32
***************
*** 171,175 ****
      return path
  
! norm_error = 'macpath.norm_error: path cannot be normalized'
  
  def normpath(s):
--- 171,175 ----
      return path
  
! class norm_error(Exception): pass
  
  def normpath(s):