Cpython optimization

Stefan Behnel stefan_ml at behnel.de
Thu Oct 22 21:05:22 CEST 2009


Francesco Bochicchio wrote:
> As a simple and plain python user, I would value a version of cython that 
> can be used to built faster executables out of almost-python code (that 
> is python code with a few additional restructions). Maybe using typing 
> inference to avoid declaring explicitely the variable types.

Sorry, type inference has already landed and will be in Cython 0.12. Plus,
you do not need to declare variables in Cython, but you may, if you choose to.

Stefan



More information about the Python-list mailing list