It allows using None for bounds. Passing NaNs as Infs doesn't work I don't think.