Staging
v0.5.1
https://github.com/python/cpython
Revision 7ab74358ee288c68d47fccfb02d29d3e0fe27195 authored by Ronald Oussoren on 08 September 2009, 07:10:07 UTC, committed by Ronald Oussoren on 08 September 2009, 07:10:07 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74701 | ronald.oussoren | 2009-09-07 08:12:00 +0200 (Mon, 07 Sep 2009) | 2 lines

  Fix typo in configure.in
........
1 parent 85d41c8
Raw File
Tip revision: 7ab74358ee288c68d47fccfb02d29d3e0fe27195 authored by Ronald Oussoren on 08 September 2009, 07:10:07 UTC
Merged revisions 74701 via svnmerge from
Tip revision: 7ab7435
md5.py
# $Id$
#
#  Copyright (C) 2005   Gregory P. Smith (greg@krypto.org)
#  Licensed to PSF under a Contributor Agreement.

import warnings
warnings.warn("the md5 module is deprecated; use hashlib instead",
                DeprecationWarning, 2)

from hashlib import md5
new = md5

blocksize = 1        # legacy value (wrong in any useful sense)
digest_size = 16
back to top