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.