Lichen

lib/_hashlib.py

90:c7ddfc4525da
2016-10-08 Paul Boddie Added some support for eliminating accessor class types where the provided attributes are invoked and are unbound methods. This uses a more sophisticated method involving usage observations that incorporate invocation information, permitting classes as accessors if paths through the code support them, even if other paths require instances as accessors to invoke methods.
     1 #!/usr/bin/env python     2      3 def new(s=None):     4     pass     5      6 def openssl_md5(s=None):     7     pass     8      9 def openssl_sha1(s=None):    10     pass    11     12 def openssl_sha224(s=None):    13     pass    14     15 def openssl_sha256(s=None):    16     pass    17     18 def openssl_sha384(s=None):    19     pass    20     21 def openssl_sha512(s=None):    22     pass    23     24 # vim: tabstop=4 expandtab shiftwidth=4