Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'assuming': 0.09; 'foss': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'dump': 0.16; 'seconds.': 0.16; 'stdout': 0.16; 'subject:python': 0.16; 'value.': 0.19; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'cheers,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; '----': 0.29; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'fault': 0.31; 'fixing': 0.31; 'python"': 0.31; 'thanks!': 0.32; 'core': 0.34; 'subject:from': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'should': 0.36; 'delaying': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hbXSScrQ1PgNYepYYjXwgKm1YvQ//YKPTHuEPkHfH2s=; b=h+iWT+L+x89V2/8MadvVYJxO7WHhwLeWQk3Uruae5Jdz9jgIQ9U9tjmnO/2BGLV+rc UO4VAJVIrY+u6iXGmgWr4XNe/X3D+sWdRgPKfsV+EnvtR50N5bNw9X9HYgkChTHG78lO oLrDHvEzcwavPmjty75sXB6COE0F3x3Zn2QJgDcKpzfOONnie/VnrpIkwoOR2wCFkOaA 8r52NaWUscEdvFdw+JBKUMp6KSjQ6ipQqUCKeVPVumZxVrQiWbSqh07V6rf4jvZ4/T8s o+lS+KjNZRbJXqwVhy68VTjTeZZixJhRq2HyFQAOrdbWWStXag68ds700du0+WCtWVfp nuFA== X-Received: by 10.194.248.130 with SMTP id ym2mr34409797wjc.88.1401275936440; Wed, 28 May 2014 04:18:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Lakshmipathi.G" Date: Wed, 28 May 2014 16:48:35 +0530 Subject: Re: how avoid delay while returning from C-python api? To: Ned Batchelder Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401275938 news.xs4all.nl 2847 [2001:888:2000:d::a6]:58019 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72151 The statement "after call" printed to stdout and the script waits there for few seconds. So I was assuming something delaying the return value. Just found out there is core-dump "segmentation fault (core dumped) python" ..Probably fixing core dump should resolve the issue. Thanks! ---- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in