hello,
in fact I'm rewriting (in cython 2.6)  a python code of a simulator in order to 
optimize the slowest functions.
i've a couple of questions....
is there any equivalent of abstractproprety, abstractmethod in cython ?and how 
to use it
is there any way to inherit from builtin classes in cython like class 
Exception?... any trick to do something equivalent will be welcome
here is an exemple:
class DuplicateNameError(Exception):
    pass 
when i define my class as cpdef... an error occurs while compiling...here is 
the message i get:
/home/tenninos/stage/arboris-python/src/misc.pyx:19:6: 'Exception' is not a 
type name building 'misc' extension

thanks a lot

Cheers!

_________________________________________________________________
Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger ! 
http://www.ilovemessenger.fr/Emoticones/EmoticonesDejantees.aspx
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to