Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2666

Usage of PYTHONHASHSEED breaks older Python code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.2
    • Python - Compiler
    • None

    Description

      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.

      Attachments

        1. THRIFT-2666.patch
          0.8 kB
          Jens Geyer

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: