Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1893

[Python] test_primitive_serialization fails on Python 2.7.3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None

      Description

      test_primitive_serialization fails on with the following error: Python 2.7.3

      str = <memory at 0x44dff28>
       
           def loads(str):
       >       file = StringIO(str)
      E       TypeError: expected read buffer, memoryview found
      

      More context:

           def test_primitive_serialization(large_memory_map):
               with pa.memory_map(large_memory_map, mode="r+") as mmap:
                   for obj in PRIMITIVE_OBJECTS:
                       serialization_roundtrip(obj, mmap)
      >               serialization_roundtrip(obj, mmap, pa.pandas_serialization_context)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                xhochy Uwe L. Korn
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: