lidavidm commented on code in PR #13921:
URL: https://github.com/apache/arrow/pull/13921#discussion_r951342344
##########
python/pyarrow/io.pxi:
##########
@@ -1053,6 +1062,14 @@ cdef class Buffer(_Weakrefable):
def __len__(self):
return self.size
+ def __repr__(self):
+ name = f"{self.__class__.__module__}.{self.__class__.__name__}"
+ return (f"{name}("
+ f"{hex(id(self))}, "
Review Comment:
Ah, for Buffers, I would actually be interested in the address of the data
itself (so `hex(self.address)`)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]