code: def _get_traceback_no_io():
      
      try:
          module = load_module(str("_traceback_no_io"), traceback)
      except NotImplementedError:
          # Can't fix the I/O problem, oh well:
          return traceback
  
      class FakeLineCache(object):
          def checkcache(self, *args, **kwargs):
              None
  
          def getline(self, *args, **kwargs):
              return ""
  
          def lazycache(self, *args, **kwargs):
              return None
  
      module.linecache = FakeLineCache()
      return module
docs: Return a version of L{traceback} that doesn't do I/O.