SIGN IN SIGN UP

[3.11] bpo-35191: Fix unexpected integer truncation in socket.setblocking() (GH-10415)

On platforms with 64-bit long, socket.setblocking(x) treated all x
which lower 32 bits are zero as False due to integer truncation.

Reported by ubsan.
A
Alexey Izbyshev committed
0443f926becc38480fe60529ad9049ccceb635bd
Parent: eb3c0dc
Committed by GitHub <noreply@github.com> on 12/1/2023, 3:44:03 PM