def __init__(self,
               protocol=MagicEnvelopeProtocol(),
               **kwargs):
    try:
      self._protocol = protocol
      self._Initialize(kwargs)

      if self._sig:  # Verify signature if provided
        self._PerformVerification()
      elif self._signer_key:  # Sign w/signer key if provided
        self._Sign()
      else:
        raise EnvelopeError(self, 'Can neither verify nor sign envelope')
    except EnvelopeError:
      raise
    #except:
    #  raise EnvelopeError(self, 'Unknown envelope failure %s' %
    #                      sys.exc_info()[:1],
    #                      sys.exc_info()[:2])

    # Record when object successfully initialized.  This
    # also serves as a validity flag.
    self._init_timestamp = time.time()
Like os.rename, but try to work around some win32 wierdness.
dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py/Envelope.__init__--crossover with--dataset/ETHPy150Open cloudmatrix/esky/esky/util.py/really_rename