Staging
v0.5.1
https://github.com/python/cpython
Revision 657d06b13eb42dc300436cd1e1788c421a5ada9f authored by Benjamin Peterson on 26 October 2013, 17:13:51 UTC, committed by Benjamin Peterson on 26 October 2013, 17:13:51 UTC
1 parent 70f213a
Raw File
Tip revision: 657d06b13eb42dc300436cd1e1788c421a5ada9f authored by Benjamin Peterson on 26 October 2013, 17:13:51 UTC
just return toplevel symbol table rather than all blocks (closes #19393)
Tip revision: 657d06b
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