At some point Cython lost the ability of using PY_LONG_LONG instead of "long long" in generated C code. The big offenders are the following two files: Cython/Utility/Overflow.c Cython/Utility/TypeConversion.c Do we want to continue using PY_LONG_LONG? Otherwise, what about Microsoft compilers? Going back to PY_LONG_LONG everywhere is quite easy right now, let me know and I'll contribute the patch for the upcoming 0.22.1 release (if that ever happens). -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
Lisandro Dalcin schrieb am 29.03.2015 um 12:17:
At some point Cython lost the ability of using PY_LONG_LONG instead of "long long" in generated C code. The big offenders are the following two files:
Cython/Utility/Overflow.c Cython/Utility/TypeConversion.c
Do we want to continue using PY_LONG_LONG? Otherwise, what about Microsoft compilers? Going back to PY_LONG_LONG everywhere is quite easy right now, let me know and I'll contribute the patch for the upcoming 0.22.1 release (if that ever happens).
If PyLL helps in any way, then, by all means, we should use it. And yes, there should be a 0.22.1 release. I selected changes for it already, and saw that you did, too. We should give the current branch another review to make sure we didn't forget anything else, and then release it. Stefan
On 29 March 2015 at 13:33, Stefan Behnel <stefan_ml@behnel.de> wrote:
Lisandro Dalcin schrieb am 29.03.2015 um 12:17:
At some point Cython lost the ability of using PY_LONG_LONG instead of "long long" in generated C code. The big offenders are the following two files:
Cython/Utility/Overflow.c Cython/Utility/TypeConversion.c
Do we want to continue using PY_LONG_LONG? Otherwise, what about Microsoft compilers? Going back to PY_LONG_LONG everywhere is quite easy right now, let me know and I'll contribute the patch for the upcoming 0.22.1 release (if that ever happens).
If PyLL helps in any way, then, by all means, we should use it.
And yes, there should be a 0.22.1 release. I selected changes for it already, and saw that you did, too. We should give the current branch another review to make sure we didn't forget anything else, and then release it.
OK, please give me a day to push the PyLL patch. Thank you! -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
On 29 March 2015 at 14:19, Lisandro Dalcin <dalcinl@gmail.com> wrote:
On 29 March 2015 at 13:33, Stefan Behnel <stefan_ml@behnel.de> wrote:
Lisandro Dalcin schrieb am 29.03.2015 um 12:17:
At some point Cython lost the ability of using PY_LONG_LONG instead of "long long" in generated C code. The big offenders are the following two files:
Cython/Utility/Overflow.c Cython/Utility/TypeConversion.c
Do we want to continue using PY_LONG_LONG? Otherwise, what about Microsoft compilers? Going back to PY_LONG_LONG everywhere is quite easy right now, let me know and I'll contribute the patch for the upcoming 0.22.1 release (if that ever happens).
If PyLL helps in any way, then, by all means, we should use it.
And yes, there should be a 0.22.1 release. I selected changes for it already, and saw that you did, too. We should give the current branch another review to make sure we didn't forget anything else, and then release it.
OK, please give me a day to push the PyLL patch. Thank you!
Done: [0.22.x] https://github.com/cython/cython/commit/60f0e2f99c3e587bc6d267608ad13e0f384b... [master] https://github.com/cython/cython/commit/2e245fc1e3881ed66ce9e8a5e07c44071b1a... -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459
participants (2)
-
Lisandro Dalcin -
Stefan Behnel