Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46370
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <davea@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:error': 0.03; 'subject:Python': 0.06; 'error:': 0.07; 'except:': 0.09; 'overflow': 0.09; 'try:': 0.09; 'python': 0.11; 'def': 0.12; '@property': 0.16; 'expect,': 0.16; 'pypy.': 0.16; 'spit': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'bit': 0.19; 'stack': 0.19; 'meant': 0.20; 'seems': 0.21; 'header:User-Agent:1': 0.23; '2.x': 0.24; 'certainly': 0.24; "i've": 0.25; 'pass': 0.26; 'post': 0.26; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "i'm": 0.30; '3.x': 0.31; 'fixing': 0.31; 'indentation': 0.31; 'python2.7': 0.31; 'with,': 0.31; 'class': 0.32; 'text': 0.33; 'except': 0.35; 'but': 0.35; 'really': 0.36; 'html,': 0.36; 'to:addr:python-list': 0.38; 'that,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'above,': 0.60; "you've": 0.63; 'name': 0.63; 'between': 0.67; 'received:74.208': 0.68; 'difference.': 0.84; 'messed': 0.84; 'prefers': 0.84; 'presumably': 0.84; 'received:74.208.4.194': 0.84; 'recover': 0.91 |
| Date | Wed, 29 May 2013 08:25:13 -0400 |
| From | Dave Angel <davea@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Fatal Python error |
| References | <CAN1F8qXPEM4B=2e7KOhWeTKzxmeeb_w_S97wYiHCMXH3jfzL6g@mail.gmail.com> |
| In-Reply-To | <CAN1F8qXPEM4B=2e7KOhWeTKzxmeeb_w_S97wYiHCMXH3jfzL6g@mail.gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:uNS7zn5WbIQRHqCssGGVMkIcV9Te4By8/8jF7yo5Fr6 77/ifY54FBl0L4Lg/w/0hBojqySpCgst6Kt5pg8vrC9zKmfR9T 0ohjhG9CKJ4t6GPLfpRYrGCuiDOtZmMQTZfT2zPvTZ2m+puJAL 3YevHnO0hH7Osq3J/Wt9P+QUW4Xm7sMF6RN5fKXwgEEcVj/GrY jvinyDMXdni+kSqTW+/PEIUJJnzL2ko7qMlSQo0gU0whMJ8yOE EWreNIw1gYR/KA9W7U7qKtmHhP5szYdPrIxWIRnr7UendiBaCY 1HG0lcekP9FdINrWUJGVQMQic5JGmi5Uv/s0YVU4t9xqRx8zXm lEMMlVgZRIJzm6AxJ4OI= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2350.1369830325.3114.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369830325 news.xs4all.nl 15887 [2001:888:2000:d::a6]:41027 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:46370 |
Show key headers only | View raw
On 05/29/2013 07:48 AM, Joshua Landau wrote: > 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: > To start with, please post in text mode. By using html, you've completely messed up any indentation you presumably had. > class ClassWithProperty: > @property > def property(self): > pass Did you really mean to hide the built-in property? I don't know if this does that, but it's certainly confusing. And perhaps that's a difference between 2.x and 3.x > > 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. > A stack overflow means you have infinite recursion. Try fixing the property name above, and see if that makes a difference. -- DaveA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Fatal Python error Dave Angel <davea@davea.name> - 2013-05-29 08:25 -0400
csiph-web