Skip to content

[Python] Remove global SerializationContext variables #18005

@asfimport

Description

@asfimport

We should get rid of the global variables {{_default_serialization_context}} and {{pandas_serialization_context}} and replace them with functions {{default_serialization_context()}} and {{pandas_serialization_context()}}.

This will also make it faster to do {{import pyarrow}}.

Reporter: Robert Nishihara / @robertnishihara
Assignee: Robert Nishihara / @robertnishihara

PRs and other links:

Note: This issue was originally created as ARROW-2024. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions