~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/pdb.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        print >>self.stdout, '--Return--'
176
176
        self.interaction(frame, None)
177
177
 
178
 
    def user_exception(self, frame, (exc_type, exc_value, exc_traceback)):
 
178
    def user_exception(self, frame, exc_info):
 
179
        exc_type, exc_value, exc_traceback = exc_info
179
180
        """This function is called if an exception occurs,
180
181
        but only if we are to stop at or just below this level."""
181
182
        frame.f_locals['__exception__'] = exc_type, exc_value