Thanks Avi. Do you know if this specific behaviour being proposed to be changed in future Python versions?

Expand full comment

Hello Avi. This happens only for integers outside the range of -5, 256?

In real world, when the value of these variables is not fixed, it forces to use 2 auxiliary variables like a2, b2 = a, b? Supposing that a and b are the variables obtained and that will be used?

What happens if the initial assignment of a and b ocurrs in separate statement and next assignments for a and b ocurr in different lines because the structure of the code? Is there a workaround? I'm starting to learn python and I come from c and learning Golang so it's a little weird.

Expand full comment