Staging
v0.8.1
https://github.com/python/cpython
Revision 11852734a576221ecd71738b08874f6fd44e85bb authored by Ned Deily on 05 November 2013, 10:40:03 UTC, committed by Ned Deily on 05 November 2013, 10:40:03 UTC
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
1 parent cbcb1e8
Raw File
Tip revision: 11852734a576221ecd71738b08874f6fd44e85bb authored by Ned Deily on 05 November 2013, 10:40:03 UTC
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 2.7.6.
Tip revision: 1185273
sha.py
# $Id$
#
#  Copyright (C) 2005   Gregory P. Smith (greg@krypto.org)
#  Licensed to PSF under a Contributor Agreement.

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

from hashlib import sha1 as sha
new = sha

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