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/2000-July/006282.html below:

[Python-Dev] simple syntax error bombs interpreter

[Python-Dev] simple syntax error bombs interpreterThomas Wouters thomas@xs4all.net
Wed, 12 Jul 2000 18:59:20 +0200
On Wed, Jul 12, 2000 at 05:48:16PM +0100, Michael Hudson wrote:
> "Fredrik Lundh" <effbot@telia.com> writes:

> > using my latest Python 2.0 build, the interpreter
> > bombs if I type the following two commands:
> > 
> > >>> def a(b):
> > ...     global b
> > ...

> Hmm.  Mine doesn't.  What platform, stack, etc?

Mine does crash. The crash seems to be caused by a refcounting bug: the
error gets detected, com_error() gets called, creates the appropriate error
object, control flows back the way it was supposed to, but between com_error
and PyErr_PrintEx() the error gets eradicated, resulting in a segmentation
fault.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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