Add bitwise operations?
Title says it all, currently code that needs this has to rely on NumPy. It should be simple to add things like >>, <<, ...
This is not all that easy. We only use signed integers, and bitwise operations are not always well defined on those. See in particular the 'Built-in bitwise shift operators' section of https://en.cppreference.com/w/cpp/language/operator_arithmetic. And note that the behaviour changed in C++20, which removed the undefined behaviour. But I think this only applies to shifts, the other operations (|, &, ^, ~) seem to be well defined.
Numpy's docs don't mention any problems with signed ints. And I did some superficial tests which seem to show that it behaves the same as C++ on my machine.
Maybe this is totally fine and we just rely on whatever the compiler+CPU do but leave a warning in the docs that you shouldn't rely on any particular overflow behaviour.