A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-August/074201.html below:

[Python-Dev] sys.last_traceback - annoying pdb behaviour

[Python-Dev] sys.last_traceback - annoying pdb behaviour [Python-Dev] sys.last_traceback - annoying pdb behaviourGuido van Rossum guido at python.org
Sun Aug 19 00:11:48 CEST 2007
On 8/18/07, Alexander Schremmer <2007a at 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/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4