Skip to content

Use Py_hash_t for hashes#41746

Merged
vbraun merged 1 commit intosagemath:developfrom
gmou3:hash_type_corrections
Mar 22, 2026
Merged

Use Py_hash_t for hashes#41746
vbraun merged 1 commit intosagemath:developfrom
gmou3:hash_type_corrections

Conversation

@gmou3
Copy link
Copy Markdown
Contributor

@gmou3 gmou3 commented Mar 3, 2026

This resolves various occurences of a Windows-specific bug: 64-bit hash not fitting in Windows' 32-bit C long.
I hunted them down using the regex search long.*hash. There may be more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: #41630.

This resolves various occurences of a Windows-specific bug: 64-bit hash not fitting in Windows' 32-bit C long.
I hunted them down using the regex search `long.*hash`. There may be more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: sagemath#41630.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 3, 2026

Documentation preview for this PR (built with commit 63b83ef; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 6, 2026
sagemathgh-41746: Use `Py_hash_t` for hashes
    
This resolves various occurences of a Windows-specific bug: 64-bit hash
not fitting in Windows' 32-bit C long.
I hunted them down using the regex search `long.*hash`. There may be
more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: sagemath#41630.
    
URL: sagemath#41746
Reported by: gmou3
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 15, 2026
sagemathgh-41746: Use `Py_hash_t` for hashes
    
This resolves various occurences of a Windows-specific bug: 64-bit hash
not fitting in Windows' 32-bit C long.
I hunted them down using the regex search `long.*hash`. There may be
more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: sagemath#41630.
    
URL: sagemath#41746
Reported by: gmou3
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 18, 2026
sagemathgh-41746: Use `Py_hash_t` for hashes
    
This resolves various occurences of a Windows-specific bug: 64-bit hash
not fitting in Windows' 32-bit C long.
I hunted them down using the regex search `long.*hash`. There may be
more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: sagemath#41630.
    
URL: sagemath#41746
Reported by: gmou3
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 21, 2026
sagemathgh-41746: Use `Py_hash_t` for hashes
    
This resolves various occurences of a Windows-specific bug: 64-bit hash
not fitting in Windows' 32-bit C long.
I hunted them down using the regex search `long.*hash`. There may be
more however.

Reported in passagemath/passagemath#2220.
Follow-up of similar PR: sagemath#41630.
    
URL: sagemath#41746
Reported by: gmou3
Reviewer(s):
@vbraun vbraun merged commit 161aad2 into sagemath:develop Mar 22, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants