It's annoying that python2's struct module doesn't err if float is passed to it for an integer, whereas python3 does.