[ https://issues.apache.org/jira/browse/ARROW-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phillip Cloud updated ARROW-1201: --------------------------------- 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. was: 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. > Incomplete Python types cause a core dump when repr-ing > ------------------------------------------------------- > > Key: ARROW-1201 > URL: https://issues.apache.org/jira/browse/ARROW-1201 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Affects Versions: 0.4.1 > Reporter: Phillip Cloud > Assignee: Phillip Cloud > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029)