Greg Słodkowicz <jerg...@gmail.com> added the comment:

Thanks, Nick. Before your last comment, I haven't looked much into Pdb, instead 
focusing on profile.py and trace.py because they looked like simpler cases. I 
think the approach with CodeRunner objects would work just fine for profile and 
trace but Pdb uses run() inherited from Bdb. In order to make it work with a 
CodeRunner object, it seems run() would have to be reimplemented in Pdb 
(effectively becoming a 'runCodeRunner()'), and we could probably do without 
_runscript(). Is that what you had in mind?

----------

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

Reply via email to