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

2007-08-18 Thread Alexander Schremmer
Hi there, when trying to use pdb, I spotted some kind of annoying behaviour of pdb: for pdb.pm, it still uses sys.last_traceback which is set by code.py This renders the function unusable in non-interactive contexts ... I suggest to change pdb.pm to use sys.exc_traceback instead. Any reasons not

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

2007-08-18 Thread Alexander Schremmer
Hi there, when I tried to use pdb, I spotted some kind of annoying behaviour of pdb: for pdb.pm, it still uses sys.last_traceback which is set by code.py This renders the function unusable in non-interactive contexts ... I suggest to change pdb.pm to use sys.exc_traceback instead. Any reasons

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

2007-08-18 Thread Guido van Rossum
sys.last_traceback is the only place where you can reliably find the latest *uncaught* traceback. There is no intention to get rid of it in Py3k or to change this behavior. If you have another traceback you'd like to print, you can use pdb.post_mortem(sys.exc_info()[2]). On 8/18/07, Alexander

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

2007-08-18 Thread Alexander Schremmer
Guido van Rossum wrote: On 8/18/07, Alexander Schremmer [EMAIL PROTECTED] wrote: when I tried to use pdb, I spotted some kind of annoying behaviour of pdb: for pdb.pm, it still uses sys.last_traceback which is set by code.py This renders the function unusable in non-interactive contexts ...

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

2007-08-18 Thread Guido van Rossum
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

[Python-Dev] PEP 11 update - Call for port maintainers to step forward

2007-08-18 Thread skip
I made a quick update to PEP 11, Removing support for little used platforms. I added details about ending support for AtheOS/Syllable and BeOS. I also added a yet-to-be-fleshed out section entitled Platform Maintainers. I intend that to the extent possible we document the responsible parties

[Python-Dev] Summary of Tracker Issues

2007-08-18 Thread Tracker
ACTIVITY SUMMARY (08/12/07 - 08/19/07) Tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1300 open ( +5) / 11141 closed ( +0) / 12441 total ( +5) Average duration of open issues: 694 days.

[Python-Dev] Weekly Python Patch/Bug Summary

2007-08-18 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 417 open (+13) / 3855 closed ( +0) / 4272 total (+13) Bugs: 1069 open ( +4) / 6800 closed (+10) / 7869 total (+14) RFE : 262 open ( -1) / 296 closed ( +1) / 558 total ( +0) New / Reopened Patches __