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


Groups > comp.lang.python > #72290

Re: how avoid delay while returning from C-python api?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lakshmipathi.g@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'api.': 0.05; 'foss': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'subject:python': 0.16; 'cc:addr:python.org': 0.22; 'cheers,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; '----': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'easier': 0.31; 'ctypes': 0.31; 'plain': 0.33; 'subject:from': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'subject:?': 0.36; 'example,': 0.37; 'entire': 0.61
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=qsMeHcWL/IaYLSXdjlLhmsk9MMZZGlgRLCQCSCbTvS0=; b=KN1UamMG3uC2qoup5unQKfLXc7vm7yk01RzD+KJOqw9BuulbvKlQpe8Nnr9bJ9Ll3Z GIRdAqpcuAf0j89vnsMfkDB0DHLddxXwQBO1BSKpqT9Vps6wfviGOpmumSCMPthD3/Ir x28vu61a1ZdGNg+dzmFN945uh/yE0k1fSz2hDphNmGK4pHb13ymG8vrBLgYK+SUMpRxd hSUlxEQoheViS+dJzI5kd2UdBp3yWbC8HBZhKTOdzRySGjk8VaeAUSiy0jeqEHY8cRFQ OV0PjcptVrh6p3IoTy37LcDqXihaZsasfB3WnhR8yrIatfTqr2VA54JCQElJ1nmbGNfm GQAg==
X-Received by 10.180.210.238 with SMTP id mx14mr4274011wic.61.1401439536237; Fri, 30 May 2014 01:45:36 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <lm5bp7$mt3$1@ger.gmane.org>
References <CAKuJGC8rrXjPWQs3xZMNmyBMkx2ko361Pnx0xuJ4SwRjvj_e-A@mail.gmail.com> <lm5bp7$mt3$1@ger.gmane.org>
From "Lakshmipathi.G" <lakshmipathi.g@gmail.com>
Date Fri, 30 May 2014 14:15:16 +0530
Subject Re: how avoid delay while returning from C-python api?
To Stefan Behnel <stefan_ml@behnel.de>
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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10482.1401439850.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401439850 news.xs4all.nl 2862 [2001:888:2000:d::a6]:44266
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72290

Show key headers only | View raw


Yes, Cython looks easier but the problem its a very old code ( 6 or 7  years ).
Almost entire code base uses plain python-c api.


Thanks for the example, will use Cython or Ctypes way for side-projects!

----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in/readme.html

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: how avoid delay while returning from C-python api? "Lakshmipathi.G" <lakshmipathi.g@gmail.com> - 2014-05-30 14:15 +0530

csiph-web