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 ?

Date 2012-01-28 16:17 +0900
From YASUDA Hideyuki <umedoblock@mail.v7.com>
Subject Re: Re: How do I call super() in c extention ?
References <4F22060D.1050203@gmail.com> <jftkrn$itq$1@dough.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.5164.1327736282.27778.python-list@python.org> (permalink)

Show all headers | 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