Staging
v0.8.1
https://github.com/python/cpython
Revision b01f94324a95657b613f7d1ef7dca1a4e31af123 authored by Georg Brandl on 13 March 2010, 10:59:09 UTC, committed by Georg Brandl on 13 March 2010, 10:59:09 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78910 | georg.brandl | 2010-03-13 11:54:12 +0100 (Sa, 13 Mär 2010) | 1 line

  Bump externals versions for doc build.
........
1 parent de1838c
Raw File
Tip revision: b01f94324a95657b613f7d1ef7dca1a4e31af123 authored by Georg Brandl on 13 March 2010, 10:59:09 UTC
Merged revisions 78910 via svnmerge from
Tip revision: b01f943
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