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

[Python] Incomplete Python types cause a core dump when repr-ing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.1
    • Fix Version/s: 0.5.0
    • Component/s: Python
    • Labels:
      None

      Description

      The type member is NULL if you construct these types in the standard Python way, which causes a core dump when trying to inspect the type. I think the best we can do here is raise an exception indicating that the type isn't properly initialized and that these types aren't really meant for users to use directly.

      It might also be prudent to remove these from the toplevel pyarrow/__init__.py so that they aren't visible alongside the public API.

        Attachments

          Activity

            People

            • Assignee:
              cpcloud Phillip Cloud
              Reporter:
              cpcloud Phillip Cloud
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: