Crash report
What happened?
import hmac import hashlib h = hmac.HMAC(b'key', digestmod=hashlib.sha256) h_copy = h.copy() print(h_copy.name)
python: ../Modules/_hashopenssl.c:610: const char *get_asn1_utf8name_by_nid(int): Assertion `ERR_peek_last_error() != 0' failed
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
No response