wesm commented on a change in pull request #7112:
URL: https://github.com/apache/arrow/pull/7112#discussion_r420738609



##########
File path: python/pyarrow/types.pxi
##########
@@ -817,6 +817,12 @@ def register_extension_type(ext_type):
     _python_extension_types_registry.append(_type)
 
 
+cdef _unregister_extension_type(bytes type_name):
+    # ARROW-8684: Due to a Cython (?) bug we cannot call "compat.tobytes"

Review comment:
       No, for some reason calling tobytes from within the atexit handler 
triggers the bug 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to