[ 
https://issues.apache.org/jira/browse/THRIFT-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197564#comment-14197564
 ] 

Hudson commented on THRIFT-2666:
--------------------------------

SUCCESS: Integrated in Thrift #1331 (See 
[https://builds.apache.org/job/Thrift/1331/])
THRIFT-2666 Usage of PYTHONHASHSEED breaks older Python code (jensg: rev 
d0bd17e7263cb8f92c21d3e1dad2ee5b5e9f79e5)
* compiler/cpp/src/generate/t_py_generator.cc


> Usage of PYTHONHASHSEED breaks older Python code
> ------------------------------------------------
>
>                 Key: THRIFT-2666
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2666
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.9.2
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2666.patch
>
>
> The hash function introduced with THRIFT-2621 breaks with Python older than 
> 3.2, because PYTHONHASHSEED has been introduced with 3.2.
> The proposed solution is to define a constant PYTHONHASHSEED as a workaround, 
> but only if PYTHONHASHSEED is not available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to