[New-bugs-announce] [issue18775] name attribute for HMAC

Christian Heimes report at bugs.python.org
Sun Aug 18 18:35:57 CEST 2013

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list