tehmaze/ipcalc — pull request #8 by gandaro (2012-02-27 12:46:29+00:00)
Title: Fix #5; use isinstance instead of type; small changes

Lists can be indexed using True and False, no conversion to int necessary;
cleaner check if self.mask is between 0 and 32 or 128; function `pow' was undefined +
math.pow returns a float, and there is no binary and operator for float and long