I was just thinking the same but I envisioned an `ifNone` function:

```
def ifNone(new, old):
    """ifNone(1, foo) -> 1 if foo is None else foo"""
    return new if old is None else old
```