[Python-Dev] simple syntax error bombs interpreter
Wed, 12 Jul 2000 19:04:44 +0200
On Wed, Jul 12, 2000 at 06:59:20PM +0200, Thomas Wouters wrote:
> On Wed, Jul 12, 2000 at 05:48:16PM +0100, Michael Hudson wrote:
> > "Fredrik Lundh" <email@example.com> writes:
> > Hmm. Mine doesn't. What platform, stack, etc?
> Mine does crash.
Eh, Linux (RedHat 6.1), both 2.0b1-CVS-tree (recent) and python 1.6a2
(couple of weeks old) that is.
Traceback of the exception is:
#0 PyErr_NormalizeException (exc=0xbffff718, val=0xbffff71c, tb=0xbffff720)
#1 0x8065501 in PyErr_PrintEx (set_sys_last_vars=1) at pythonrun.c:686
#2 0x80654d6 in PyErr_Print () at pythonrun.c:676
#3 0x80652fa in PyRun_SimpleString (command=0x821fc58 "def a(b): global b\n")
#4 0x8052a01 in Py_Main (argc=3, argv=0xbffff7d4) at main.c:256
#5 0x8052606 in main (argc=3, argv=0xbffff7d4) at python.c:10
though I doubt it's really helpful, as the actual bug is elsewhere.
Thomas Wouters <firstname.lastname@example.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!