Skip to content

Use Py_hash_t return type for table_nohash(). Fixes #149 - #150

Merged
grisha merged 1 commit into
masterfrom
149_32bit_compile
Jan 23, 2026
Merged

Use Py_hash_t return type for table_nohash(). Fixes #149#150
grisha merged 1 commit into
masterfrom
149_32bit_compile

Conversation

@grisha

@grisha grisha commented Jan 22, 2026

Copy link
Copy Markdown
Owner

Closes #149

On 32-bit systems, tp_hash expects Py_hash_t (int) not long,
causing a build failure due to incompatible pointer types.
@grisha
grisha merged commit 7a1fe21 into master Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure on 32-bit OS: incompatible type in tp_hash in PyTypeObject

1 participant