Skip to content
Discussion options

You must be logged in to vote

tl;dr: I think it might be just because you have fn parse_data_type(data_type: &PyDataType) instead of fn parse_data_type(data_type: PyDataType).


It's not a noob question. A background issue is this: PyO3/pyo3#1444. In general, you can't take a pyo3-based Python class that was created in one library and share it with another pyo3-based library, because differences in Rust package version, pyo3 version, python version, and rustc versions mean that it might not be ABI stable.

Except in the case of Arrow we have a format that is explicitly ABI stable. So the point of pyo3-arrow is to ensure that this sort of data sharing works because we access the object's underlying C-stable data.

That er…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rabernat
Comment options

@kylebarron
Comment options

@rabernat
Comment options

@kylebarron
Comment options

@kylebarron
Comment options

Answer selected by rabernat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants