forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-6301: [C++][Python] Prevent ExtensionType-related race conditio…
…n in Python process teardown by exposing shared_ptr to global "ExtensionTypeRegistry" A user observed a race condition in process teardown where the extension type registry was destroyed before the PyExtensionType could be unregistered. This is the simplest way I could think of how to keep the registry alive at the end of the process. Closes apache#5174 from wesm/ARROW-6301 and squashes the following commits: 3852ddb <Wes McKinney> Add missing 'override' keywords 5524868 <Wes McKinney> Externalize extension type registry so that Python can keep it alive until PyExtensionType is unregistered 84e7bdd <Wes McKinney> tmp Authored-by: Wes McKinney <wesm+git@apache.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
- Loading branch information
Showing
4 changed files
with
97 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters