New submission from Christian Heimes: In issue #18532 name attribute was officially documented and tested for hashing objects. PEP 247 considers HMAC as keyed hashing algorithm. Therefore I suggest that HMAC object should provide the same interface.
It's a bit unfortunate that HMAC has a blocksize attribute for the default blocksize but the API defines a block_size attribute. ---------- components: Library (Lib) files: hmac_name.patch keywords: patch messages: 195570 nosy: christian.heimes, gregory.p.smith, jason.coombs priority: normal severity: normal stage: patch review status: open title: name attribute for HMAC type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31360/hmac_name.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com