Just like with other integer operations, bit manipulation has unlimited precision.
>>> (0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef ^
... 0x64004ee264004ee264004ee264004ee264004ee264004ee264004ee264004ee2 ==
... 0xbaadf00dbaadf00dbaadf00dbaadf00dbaadf00dbaadf00dbaadf00dbaadf00d)
True
If you're trying to match the output of routines in other languages you can clamp results to a certain number of bits by masking with an appropriate bitmask. result & 0xff for 1 byte, result & 0xffff for 2 bytes, result & 0xffffffff for 4 bytes, etc.
...will it be 10 & 11 or 0010 & 0011?
There is no difference. 0b10 == 0b0010 and 0b11 == 0b0011. They are the exact same numbers; zero padding on the left doesn't change anything. You can think of these numbers as having an infinite number of zeros to the left.
I'm not being deliberately obtuse, I promise you. You're asking, "Is it A or B?" and the answer is, "Both. A and B are the same thing."
In Java or C++ or C# or any other language with fixed-width integer types, the fact that they perform 16-bit or 32-bit or 64-bit bit manipulation has observable consequences on the behavior of your code. Output results get truncated to the bit width of the input types. You always have to think about overflow and how numbers might wrap around. Adding two numbers might result in a smaller number. The fixed width bit manipulation has a visible effect that you must think about.
Python uses unlimited precision integers, so there's no such thing. Yes, if you peek under the hood at how the unlimited precision integer library works, it will used fixed size integers somewhere in there. It will ultimately execute assembly instructions that do 32-bit ANDs or 64-bit XORs or whatever the case may be. But all of that is internal to Python. It's not visible externally to us, the users. The externally visible behavior is that integers appear to have unlimited precision. We can think of every number as conceptually having an infinite number of 0 bits to the left (or an infinite number of 1 bits, if the number is negative).