This can be cleaned up more now that we only support 2.6-2.7 as the comparison can be done as
```
UPLO == b'L'
```
But that cleanup can wait.