peterolkhov opened a new pull request, #1009:
URL: https://github.com/apache/arrow-nanoarrow/pull/1009

   Sliced fixed-width binary, half-float, decimal and interval arrays can 
currently read earlier values or return extra rows because 
`CBufferView._iter_struct()` ignores its offset and length. Apply those bounds 
to a byte memoryview before unpacking, preserving the existing scalar and tuple 
output. Regression tests cover direct buffer slices, empty slices, bounds and 
lifetime, plus nullable PyArrow Array and RecordBatch conversion.
   
   Tested locally on macOS arm64/Python3.14: Python suite (284 passed, 4 
skipped), doctests (118 passed), stubtest (8 modules), configured applicable 
pre-commit hooks and a 56-case external PyArrow matrix. Ubuntu and the full CI 
Python matrix remain for CI.
   
   The code change and regression tests were prepared with OpenAI Codex 
assistance (GPT-6.1 Sol).
   


-- 
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]

Reply via email to