Senthil Kumaran <sent...@uthcode.com> added the comment:

Hello Xavier,

This issue required some tracing through the calls and I see the problem that 
you have mentioned and patch fixes the problem.

One comment on the patch, for the tests in the module, this line - 

self.frame_returning = None 

does not seem to have a coverage. Is there a specific significance in setting 
this to None and would a test help?


     def dispatch_return(self, frame, arg):
         if self.stop_here(frame) or frame == self.returnframe:
+            self.frame_returning = frame
             self.user_return(frame, arg)
+            self.frame_returning = None
             if self.quitting: raise BdbQuit
         return self.trace_dispatch

Sorry for the delay, I shall commit the fix in 3.3.

----------
assignee:  -> orsenthil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13183>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to