Re: [Cython] Interest in contributing to the project

2011-04-04 Thread Arthur de Souza Ribeiro
Thanks for clarification Sturla, that's just the way I was thinking about some things... I realized that you used some C code that is in _math.h header file, I mean, I was thinking that in the project I should rewrite code that belongs to this file too right? I started coding but I got stucked in

Re: [Cython] Interest in contributing to the project

2011-04-03 Thread Sturla Molden
Den 04.04.2011 01:49, skrev Sturla Molden: Also observe that we do not release the GIL here. That is not because these functions are not thread-safe, they are, but yielding the GIL will slow things terribly. Oh, actually they are not thread-safe because we set errno... Sorry. Sturla ___

Re: [Cython] Interest in contributing to the project

2011-04-03 Thread Sturla Molden
Den 03.04.2011 04:17, skrev Arthur de Souza Ribeiro: static PyMethodDef cmath_methods[] = { {"acos", cmath_acos, METH_VARARGS, c_acos_doc}, {"acosh", cmath_acosh, METH_VARARGS, c_acosh_doc}, {"asin", cmath_asin, METH_VARARGS, c_asin_doc}, {"asinh", cmath_asinh, METH_VARAR

Re: [Cython] Interest in contributing to the project

2011-04-02 Thread Arthur de Souza Ribeiro
Hi Stefan, well, i took a look at CPython's source code and as you said, if we use Cython in there we could get a very more readable code without losing performance (I suppose). I took a look especially in cmathmodule.c that composes Python 3.2 source code (more recent stable version). As you said

Re: [Cython] Interest in contributing to the project

2011-04-01 Thread Stefan Behnel
Hi Arthur, Arthur de Souza Ribeiro, 02.04.2011 03:52: HI Stefan, thank you very much for responding my e-mail to cython's list. About the proposal, I'd be very happy in helping the cython community doing the task 'rewrite modules in CPython's standard library in Cython that are currently writte

Re: [Cython] Interest in contributing to the project

2011-04-01 Thread Arthur de Souza Ribeiro
HI Stefan, thank you very much for responding my e-mail to cython's list. About the proposal, I'd be very happy in helping the cython community doing the task 'rewrite modules in CPython's standard library in Cython that are currently written in C'. I didn't think about any special modules, but I'

Re: [Cython] Interest in contributing to the project

2011-04-01 Thread Stefan Behnel
Arthur de Souza Ribeiro, 29.03.2011 09:11: Hello everybody, My name is Arthur de Souza Ribeiro and I'm a fourth-year student of Computer Science in Federal University of Campina Grande, Brazil. I'm a python programmer and have knowledge of other languages too, like Java, C, C++, Qt, Grails and A

[Cython] Interest in contributing to the project

2011-03-29 Thread Arthur de Souza Ribeiro
Hello everybody, My name is Arthur de Souza Ribeiro and I'm a fourth-year student of Computer Science in Federal University of Campina Grande, Brazil. I'm a python programmer and have knowledge of other languages too, like Java, C, C++, Qt, Grails and ActionScript (used in Flex framework of Adobe)