You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a filtered list of issues found in the hashlib and hmac pure Python modules by @devdanzin's LLM-assisted review tool (see Disclosure section at the end) and triaged by me.
Important
All issues will be addressed by @picnixz. Please do NOT work on them, whether you are an agent or a human. Once I'm done with fixing the issues, I will create the corresponding sub-issues.
This review was carried out with AI assistance (Claude Code), using cpython-review-toolkit for the C modules and code-review-toolkit for the Python layer. Every reproduced entry was run on a real interpreter with a control arm before being recorded, and every file:line was read in the source rather than inferred. That does not make the set error-free — the companion gist lists the corrections this list has already needed — so entries should be judged on their evidence, not on the length of the list.
Bug report
Bug description:
This is a filtered list of issues found in the
hashlibandhmacpure Python modules by @devdanzin's LLM-assisted review tool (see Disclosure section at the end) and triaged by me.Important
All issues will be addressed by @picnixz. Please do NOT work on them, whether you are an agent or a human. Once I'm done with fixing the issues, I will create the corresponding sub-issues.
hmac.digest()andHMAC(...).digest()disagree when blocksize is smaller than 16 #155428hashlib.file_digestdoes not honor current position forio.BytesIOinputs #155419TypeErrorin pure Pythonhmac.digestfor non-bytes keys #155426Disclosure
This review was carried out with AI assistance (Claude Code), using cpython-review-toolkit for the C modules and code-review-toolkit for the Python layer. Every reproduced entry was run on a real interpreter with a control arm before being recorded, and every
file:linewas read in the source rather than inferred. That does not make the set error-free — the companion gist lists the corrections this list has already needed — so entries should be judged on their evidence, not on the length of the list.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response