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


Groups > comp.lang.python > #19522 > unrolled thread

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

Started byStefan Behnel <stefan_ml@behnel.de>
First post2012-01-27 08:48 +0100
Last post2012-01-27 08:48 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromStefan Behnel <stefan_ml@behnel.de>
Date2012-01-27 08:48 +0100
SubjectRe: How do I call super() in c extention ?
Message-ID<mailman.5155.1327650499.27778.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web