You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/07/01 07:36:37 UTC

[GitHub] [arrow] pitrou commented on pull request #7519: ARROW-9017: [C++][Python] Refactor scalar bindings

pitrou commented on pull request #7519:
URL: https://github.com/apache/arrow/pull/7519#issuecomment-652247947


   The problem is that it breaks Python semantics in potentially annoying places:
   ```python
   >>> import pyarrow as pa                                                                                                                                                 
   >>> na = pa.scalar(None)                                                                                                                                                 
   >>> na in [5]                                                                                                                                                            
   True
   ```
   


----------------------------------------------------------------
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:
users@infra.apache.org