wrap and partial are built-in into python as we support only 2.6+