mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #9612: The set object is now 64-bit clean under Windows.
This commit is contained in:
parent
7ac98ae3b3
commit
671b4d948e
3 changed files with 17 additions and 11 deletions
|
@ -22,7 +22,11 @@ no meaning otherwise.
|
|||
#define PySet_MINSIZE 8
|
||||
|
||||
typedef struct {
|
||||
long hash; /* cached hash code for the entry key */
|
||||
/* Cached hash code of the key. Note that hash codes are C longs.
|
||||
* We have to use Py_ssize_t instead because set_pop() abuses
|
||||
* the hash field to hold a search finger.
|
||||
*/
|
||||
Py_ssize_t hash;
|
||||
PyObject *key;
|
||||
} setentry;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue