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


Groups > comp.lang.python > #19533

Re: Re: How do I call super() in c extention ?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <umedoblock@mail.v7.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.044
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'python': 0.08; 'extension.': 0.09; 'readable': 0.09; 'received:192.168.11': 0.16; 'subject:() ': 0.16; 'wrote:': 0.16; 'rewrite': 0.18; 'this?': 0.19; 'header:In-Reply-To:1': 0.22; 'stefan': 0.24; 'subject: ?': 0.24; 'code': 0.25; 'thanks.': 0.25; 'class': 0.29; 'quite': 0.31; 'skip:( 20': 0.31; 'certainly': 0.32; 'minor': 0.32; 'changes': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.33; "i'll": 0.35; 'subject:How': 0.35; 'using': 0.37; 'received:192': 0.38; "i'd": 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'your': 0.61; 'efficient': 0.61; 'subject:call': 0.91; 'received:113': 0.96
Date Sat, 28 Jan 2012 16:17:38 +0900
From YASUDA Hideyuki <umedoblock@mail.v7.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Re: How do I call super() in c extention ?
References <4F22060D.1050203@gmail.com> <jftkrn$itq$1@dough.gmane.org>
In-Reply-To <jftkrn$itq$1@dough.gmane.org>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.5164.1327736282.27778.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327736282 news.xs4all.nl 6980 [2001:888:2000:d::a6]:57918
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19533

Show key headers only | View raw


 > Have you considered using Cython for this?

No. I hadn't known Cython.
Now, I'll try to use Cython.

thanks.

umedoblock

(-28163年01月-9日 04:59), Stefan Behnel wrote:
> umedoblock, 27.01.2012 03:03:
>> I'd like to call super() in c extension.
>> I'd like to rewrite class Baa as c extension.
>
> Have you considered using Cython for this? It will allow you to do exactly
> that with only minor changes to your Python code (if any). And it's quite
> likely that the C code that it generates from your Python code will be more
> efficient than what you'd write manually. Certainly more readable and
> maintainable.
>
> Stefan
>
>

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


Thread

Re: Re: How do I call super() in c extention ? YASUDA Hideyuki <umedoblock@mail.v7.com> - 2012-01-28 16:17 +0900

csiph-web