Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'that?': 0.05; 'subject:Python': 0.06; 'error:': 0.07; 'except:': 0.09; 'try:': 0.09; 'python': 0.11; 'def': 0.12; '@property': 0.16; 'expect,': 0.16; 'pypy.': 0.16; 'spit': 0.16; 'all,': 0.19; 'bit': 0.19; 'stack': 0.19; 'meant': 0.20; 'seems': 0.21; "i've": 0.25; 'pass': 0.26; 'code:': 0.26; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'python2.7': 0.31; 'class': 0.32; 'to:name :python-list': 0.33; 'except': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'prefers': 0.84; 'recover': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Uitpnqf0l9ABqERKodm8fhog4mr0ZwMlcctWjQSKDZY=; b=Mf+WoD8m9l5zMBFmgzv1jypz0PGzBObO1PHVGBZDT29K8NYepoRbQSRyyZMUeMchnj yRxGNkMlMJ4mx/GxlM/6MgAKgVU5jcxqTiCbSlPnreXXMU3igETD+RCytVpL5j7Msee4 nO8wIR1mxU4VJruQn93zyt33Nx/+BCwgOkuoCmgxR+X/p2wz5d6GKGuGPY8Df1dyWl6p Qd3IPXYXB3wjLkA/8exhcMFjyFd+sUh6BRvKfcLg2GalQ8iZtah1sOS3o4rqazy/O5I1 xGZ94/7JA57DjDsLiWDHLEmkQWT6p/hRBvbM2362ZQZXIU/3l8i0qqaOhlNPVstfPBSp L+sw== X-Received: by 10.112.138.131 with SMTP id qq3mr1435353lbb.46.1369828160195; Wed, 29 May 2013 04:49:20 -0700 (PDT) MIME-Version: 1.0 From: Joshua Landau Date: Wed, 29 May 2013 12:48:39 +0100 Subject: Fatal Python error To: python-list Content-Type: multipart/alternative; boundary=089e011607cee4522f04ddd9f886 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 65 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369828167 news.xs4all.nl 15951 [2001:888:2000:d::a6]:57729 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46368 --089e011607cee4522f04ddd9f886 Content-Type: text/plain; charset=ISO-8859-1 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? --089e011607cee4522f04ddd9f886 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello all, again. Instead of revising like I'm meant t= o 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 =3D ClassWithProperty()

def loop= ():
try:
=
thingwithproperty.= property
except:
<= span class=3D"" style=3D"white-space:pre"> pass

loop()
<= br>
try:
loop= ()
except RuntimeError:
pass

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

Wuzzup with that?
--089e011607cee4522f04ddd9f886--