[
https://issues.apache.org/jira/browse/ARROW-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved ARROW-1418.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 1002
[https://github.com/apache/arrow/pull/1002]
> [Python] Introduce SerializationContext to register custom serialization
> callbacks
> ----------------------------------------------------------------------------------
>
> Key: ARROW-1418
> URL: https://issues.apache.org/jira/browse/ARROW-1418
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.6.0
> Reporter: Philipp Moritz
> Priority: Minor
> Fix For: 0.7.0
>
>
> In the first iteration of the Python serialization code, we used global
> variables to store the custom serialization and deserialization callback
> functions. This global state is undesirable because if the user wants to use
> different serialization callbacks with different types registered, they need
> to remember resetting the state. As Wes suggested, a good way to address this
> is by introducing a SerializationContext that has the callbacks and gets
> passed around.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)