On 8/18/07, Alexander Schremmer <[EMAIL PROTECTED]> 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/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com