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

   Negative decimal128 and decimal256 values become enormous positive values 
during Python conversion. The stored integer is signed, but `_decimal_iter()` 
currently decodes it as unsigned. This adds `signed=True` at that conversion 
boundary.
   
   The regression tests cover both widths, negative and positive values, nulls, 
zero, varied scales and full precision under modified decimal contexts.
   
   Tested with a rebuilt source wheel on macOS arm64/Python 3.14: 276 tests 
passed, 4 skipped; 118 doctests passed; stubtest passed for eight modules; 
applicable pre-commit hooks passed. The decimal regressions failed before the 
change. Other platforms and Python versions remain for CI.
   
   AI assistance: Codex generated the fix and tests and ran the local checks.
   


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