[Cython] "long long" versus "PY_LONG_LONG"

Lisandro Dalcin dalcinl at gmail.com
Sun Mar 29 13:19:03 CEST 2015


On 29 March 2015 at 13:33, Stefan Behnel <stefan_ml at 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


More information about the cython-devel mailing list