issues
search
diamondman
/
bitarray
efficient arrays of booleans for Python
Other
5
stars
2
forks
source link
Fix Clang compilation warnings and error handling.
#8
Closed
eltoder
closed
8 years ago
eltoder
commented
8 years ago
setbit() takes int, not long.
idx_t (index in bitarray) is long long, which can be bigger than Py_ssize_t. Use these types as appropriate.
Add error checking and range checking to setlist().
andre-merzky
commented
8 years ago
Thank you!
diamondman
commented
8 years ago
Finished reviewing it. All looks sane. Good catches.