gh-129559: Add `bytearray.resize()` (GH-129560)
Add bytearray.resize() which wraps PyByteArray_Resize. Make negative size passed to resize exception/error rather than crash in optimized builds.
C
Cody Maloney committed
5fb019fc29a90e722aff20a9522bf588351358cd
Parent: 7d9a22f
Committed by GitHub <[email protected]>
on 2/5/2025, 7:33:17 PM