Safer, more Pythonic division