Skip to content

gh-87138: convert SHA-3 object type to heap type - #127670

Merged
gpshead merged 4 commits into
python:mainfrom
picnixz:feat/hashlib/sha3/heap-type-87138
Dec 8, 2024
Merged

gpshead merged 4 commits into
python:mainfrom
picnixz:feat/hashlib/sha3/heap-type-87138

Conversation

@picnixz

@picnixz picnixz commented Dec 6, 2024 •

Copy link
Copy Markdown
Member

This is a follow-up to #26374.

I took the liberty of:

  • adding an assert() on the rate
  • removing a redundant if (my IDE would warn me! and PyMem_Free() already checks for NULL)
  • suppress the return type of _sha3_clear() to make the IDE happy as well.
@picnixz
picnixz force-pushed the feat/hashlib/sha3/heap-type-87138 branch from acbe3d1 to e23eeee Compare December 8, 2024 13:18
@gpshead gpshead self-assigned this Dec 8, 2024
@gpshead
gpshead merged commit 3b78409 into python:main Dec 8, 2024
@picnixz
picnixz deleted the feat/hashlib/sha3/heap-type-87138 branch December 8, 2024 17:53
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants