Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46368

Fatal Python error

From Joshua Landau <joshua.landau.ws@gmail.com>
Date 2013-05-29 12:48 +0100
Subject Fatal Python error
Newsgroups comp.lang.python
Message-ID <mailman.2348.1369828167.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello all, again. Instead of revising like I'm meant to be, I've been
delving into a bit of Python and I've come up with this code:

class ClassWithProperty:
 @property
def property(self):
pass

thingwithproperty = ClassWithProperty()

def loop():
try:
thingwithproperty.property
 except:
pass

loop()

try:
loop()
except RuntimeError:
pass

As you will expect, this does nothing... on Python2.7 and PyPy. Python3.3
prefers to spit out a "Fatal Python error: Cannot recover from stack
overflow.", which seems a bit unexpected.

Wuzzup with that?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Fatal Python error Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-29 12:48 +0100

csiph-web