An upper bound to represent blocking may as well be an actual float, which can then be used in implementations without it tripping up, e.g. validators that don't know how to handle an inf value.
This could be backported to earlier versions if desired, sys.float_info.max seems to have been around for at least all of python 3.
An upper bound to represent blocking may as well be an actual float, which can then be used in implementations without it tripping up, e.g. validators that don't know how to handle an inf value.
This could be backported to earlier versions if desired,
sys.float_info.max
seems to have been around for at least all of python 3.