Py_hash_t on python27

Richard PALO richard at netbsd.org
Fri Jan 22 08:26:05 PST 2016


Le 22/01/16 16:47, Rene Engelhard a écrit :
> Hi,
> 
> On Fri, Jan 22, 2016 at 03:58:22PM +0100, Richard PALO wrote:
>> Le 21/01/16 20:11, Richard PALO a écrit :
>>>> Isn't this a python3 feature?
>>>>
>>
>> looks like it was 3.2 according to the python website (in the release notes for 3.2)
>> so I use instead:
>>> -#if PY_VERSION_HEX < 0x02070000
>>> +#if PY_VERSION_HEX < 0x03020000
> 
> We need python >= 3.3 when using python3 anyway (see configure;
> and that is because of python3-internal changes), so that is a
> given.
> 
?? Python 3.2 and later define Py_hash_t already...  This is, I believe, exclusively for usage with prior versions.

-- 
Richard PALO



More information about the LibreOffice mailing list