PyHash API — Python 3.16.0a0 documentation

docs.python.org

Tin mới

String conversion and formatting

Python Module Index

3.16.0a0 Documentation

Python/C API reference manual

PyTypeObject.tp_hash

See also the PyTypeObject.tp_hash member and Hashing of numeric types.

Hashing of numeric types

See also the PyTypeObject.tp_hash member and Hashing of numeric types.

sys.hash_info.algorithm

A numerical value indicating the algorithm for hashing of str, bytes, and memoryview.

--with-hash-algorithm

Numerical values to compare to Py_HASH_ALGORITHM to determine which algorithm is used for hashing. The hash algorithm can be configured via the configure --with-hash-algorithm option.