Re: [pypy-svn] r5649 - pypy/trunk/src/pypy (fwd)

Sorry, really ought to learn how to use email! Obviously none of the intended parties got this. :-( ---------- Forwarded message ---------- Date: Sat, 24 Jul 2004 19:39:46 +0100 (BST) From: Richard Emslie <rxe@ukshells.co.uk> To: mwh@codespeak.net Cc: pypy-svn@codespeak.net Subject: Re: [pypy-svn] r5649 - pypy/trunk/src/pypy Hi Michael! On Sat, 24 Jul 2004 mwh@codespeak.net wrote:
Think I got rid of also in traceinteractive.py... if that counts for my vote ;-)
[schnip]
AFAIK yes! I've got some changes to checkin still (testit.py was broken and changing verbosity from traceinteractive.py) Should we combine interactive.py and traceinteractive.py ? (Since trace one was a blatant copy and paste hack :-) - also a TODO I believe). We could make interpreter level tracebacks a verbosity option? Cheers, Richard

Richard Emslie <rxe@ukshells.co.uk> writes:
Hmm. I think a better solution would be to do something like print an interpreter level traceback as far as the last opcode being executed, and construct an app-level traceback from there on back (also, stashing the interpreter level details away for later inspection, as the half-hearted tb_server code does seems a good idea). However, just commenting the printing of interpreter level tracebacks out does seem to be a net win.
So change TODO :-)
Yes, the main.py/py.py/interactive.py refactoring is something that has been a good idea for over a year, I think. But what we have works well enough so noone's gotten around to doing it.
We could make interpreter level tracebacks a verbosity option?
A nice idea. Cheers, mwh -- About the use of language: it is impossible to sharpen a pencil with a blunt axe. It is equally vain to try to do it with ten blunt axes instead. -- E.W.Dijkstra, 18th June 1975. Perl did not exist at the time.

Richard Emslie <rxe@ukshells.co.uk> writes:
Hmm. I think a better solution would be to do something like print an interpreter level traceback as far as the last opcode being executed, and construct an app-level traceback from there on back (also, stashing the interpreter level details away for later inspection, as the half-hearted tb_server code does seems a good idea). However, just commenting the printing of interpreter level tracebacks out does seem to be a net win.
So change TODO :-)
Yes, the main.py/py.py/interactive.py refactoring is something that has been a good idea for over a year, I think. But what we have works well enough so noone's gotten around to doing it.
We could make interpreter level tracebacks a verbosity option?
A nice idea. Cheers, mwh -- About the use of language: it is impossible to sharpen a pencil with a blunt axe. It is equally vain to try to do it with ten blunt axes instead. -- E.W.Dijkstra, 18th June 1975. Perl did not exist at the time.
participants (2)
-
Michael Hudson
-
Richard Emslie