Package SCons :: Package compat :: Module _scons_hashlib
[hide private]
[frames] | no frames]

Module _scons_hashlib

source code

hashlib backwards-compatibility module for older (pre-2.5) Python versions

This does not not NOT (repeat, NOT) provide complete hashlib functionality. It only wraps the portions of MD5 functionality used by SCons, in an interface that looks like hashlib (or enough for our purposes, anyway). In fact, this module will raise an ImportError if the underlying md5 module isn't available.

Classes [hide private]
  md5obj
  new
Functions [hide private]
 
md5(string='') source code
Variables [hide private]
  __doc__ = ...
  __revision__ = 'src/engine/SCons/compat/_scons_hashlib.py issu...
  __package__ = 'SCons.compat'
  __warningregistry__ = {('the md5 module is deprecated; use has...
Variables Details [hide private]

__doc__

Value:
"""
hashlib backwards-compatibility module for older (pre-2.5) Python vers\
ions

This does not not NOT (repeat, *NOT*) provide complete hashlib
functionality.  It only wraps the portions of MD5 functionality used
by SCons, in an interface that looks like hashlib (or enough for our
purposes, anyway).  In fact, this module will raise an ImportError if
...

__revision__

Value:
'src/engine/SCons/compat/_scons_hashlib.py issue-2856:2676:d23b7a2f45e\
8 2012/08/05 15:38:28 garyo'

__warningregistry__

Value:
{('the md5 module is deprecated; use hashlib instead',
  <type 'exceptions.DeprecationWarning'>,
  36): True}