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


Groups > comp.lang.python > #46368 > unrolled thread

Fatal Python error

Started byJoshua Landau <joshua.landau.ws@gmail.com>
First post2013-05-29 12:48 +0100
Last post2013-05-29 12:48 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#46368 — Fatal Python error

FromJoshua Landau <joshua.landau.ws@gmail.com>
Date2013-05-29 12:48 +0100
SubjectFatal Python error
Message-ID<mailman.2348.1369828167.3114.python-list@python.org>

[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?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web