18 Aug
2007
18 Aug
'07
10:11 p.m.
On 8/18/07, Alexander Schremmer <2007a@usenet.alexanderweb.de> wrote:
Indeed, I did not see that it is also set in pythonrun. How do you think about changing pdb.pm to use exc_info if last_exception is not set?
That would just confuse you if you're counting on that behavior, and then some time later last_exception gets set and you suddenly don't get the behavior you expected. pdb.pm() is *only* for use at the command-line prompt (that's why its name is so short :-). -- --Guido van Rossum (home page: http://www.python.org/~guido/)