Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'bug': 0.02; 'interpreter': 0.05; 'imports': 0.07; 'python': 0.08; 'am,': 0.12; 'case.': 0.15; '9:15': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'modules?': 0.16; 'wrote:': 0.18; 'posting': 0.20; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'module': 0.26; 'code': 0.26; 'work.': 0.27; 'message- id:@mail.gmail.com': 0.29; 'weird': 0.29; 'problem': 0.29; 'pm,': 0.29; 'down,': 0.30; 'sun,': 0.30; 'chris': 0.30; "didn't": 0.30; 'actually': 0.31; 'andrew': 0.32; 'certainly': 0.32; 'does': 0.32; 'to:addr:python-list': 0.35; 'external': 0.35; 'received:google.com': 0.37; 'subject:with': 0.37; 'received:209.85': 0.38; 'some': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'management': 0.60; 'more': 0.61; 'worth': 0.61; 'simple': 0.61; 'your': 0.61; 'safe': 0.70; 'ultimately,': 0.84; 'surface': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A9PMZBP01JKXf5RuTVsCOOTAPRlzk0560Yjhcpi8Gqk=; b=N529+mHmrFMK6VUOFnThFID3q3PvPNEbkQtru5AB5U2tUYiNI7myVWXII6wNJPPgz5 x7JVlZNZzyzJVXAh7ErZb1mBzkilg3cKApTCdTiYZG8BZmwc3N2v3mHBBjzP6hWU/1V3 8KABUkqlItFD0lg+zjcgabumd69QPoDv4XtQY= MIME-Version: 1.0 In-Reply-To: <4F2D5D99.4030808@gmail.com> References: <4f2c6cec$0$29989$c3e8da3$5496439d@news.astraweb.com> <4F2D5D99.4030808@gmail.com> Date: Sun, 5 Feb 2012 07:43:51 +1100 Subject: Re: Script randomly exits for seemingly no reason with strange traceback From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328388234 news.xs4all.nl 6921 [2001:888:2000:d::a6]:48021 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19863 On Sun, Feb 5, 2012 at 3:32 AM, Andrew Berg wrote: > On 2/3/2012 9:15 PM, Chris Angelico wrote: >> Do you call on potentially-buggy external modules? > It imports one module that does little more than define a few simple > functions. There's certainly no (intentional) interpreter hackery at work. If it's safe for you to do so (copyright/licence etc), it may be worth posting the code along with your bug report, just in case. I had some REALLY weird issues from embedding Python that derived, ultimately, from buggy ref management - one such case came from forgetting to incref None; it took me a long time to track it down, because the problem didn't actually surface until the interpreter was shutting down. ChrisA