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


Groups > comp.lang.python > #19522

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

From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: How do I call super() in c extention ?
Date 2012-01-27 08:48 +0100
References <4F22060D.1050203@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5155.1327650499.27778.python-list@python.org> (permalink)

Show all headers | View raw


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: How do I call super() in c extention ? Stefan Behnel <stefan_ml@behnel.de> - 2012-01-27 08:48 +0100

csiph-web