New GitHub issue #111389 from skirpichev:<br>

<hr>

<pre>
### Proposal:

This is used to implement CPython-like hashing of numeric types e.g. [in Sage](https://github.com/sagemath/sage/blob/07a2afd65fb4b0a1c9cbc43ede7d4a18c921a000/src/sage/libs/gmp/pylong.pyx#L35-L52) or [in gmpy2](https://github.com/aleaxit/gmpy/blob/master/src/gmpy2_hash.c). Actually, the same info is available via ``sys.hash_info``, so I don't see reasons to hide this in Python.h.

See #106320 and #107026.

### Has this already been discussed elsewhere?

No response given

### Links to previous discussion of this feature:

_No response_
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/111389">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>