def parse (self, vstring):
        # I've given up on thinking I can reconstruct the version string
        # from the parsed tuple -- so I just store the string here for
        # use by __str__
        self.vstring = vstring
        components = filter(lambda x: x and x != '.',
                            self.component_re.split(vstring))
        for i in range(len(components)):
            try:
                components[i] = int(components[i])
            except __HOLE__:
                pass

        self.version = components
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/distutils/version.py/LooseVersion.parse