I would expect the same behavior from accessing from large native bytes compared to HexBytes.
However, HexBytes.__getitem__ may potentially cause recursion errors.
Code that produced the error
HexBytes("0" * 1000000000000)
# but also really is coming from struct logs in debug_tt
Full error output
RecursionError: maximum recursion depth exceeded while calling a Python object
What happened?
I would expect the same behavior from accessing from large native bytes compared to HexBytes. However,
HexBytes.__getitem__
may potentially cause recursion errors.Code that produced the error
Full error output