Stop using string exceptions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index ccd729c..b05ed22 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -6,7 +6,7 @@
 
 __all__ = ["BdbQuit","Bdb","Breakpoint"]
 
-BdbQuit = 'bdb.BdbQuit' # Exception to give up completely
+class BdbQuit(Exception): pass
 
 
 class Bdb:
diff --git a/Lib/macpath.py b/Lib/macpath.py
index f8ca051..2881c32 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -170,7 +170,7 @@
     """Dummy to retain interface-compatibility with other operating systems."""
     return path
 
-norm_error = 'macpath.norm_error: path cannot be normalized'
+class norm_error(Exception): pass
 
 def normpath(s):
     """Normalize a pathname.  Will return the same result for