mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-32436: Fix a refleak; var GC tracking; a GCC warning (#5326)
The refleak in question wasn't really important, as context vars are usually created at the toplevel and live as long as the interpreter lives, so the context var name isn't ever GCed anyways.
This commit is contained in:
parent
b31206a223
commit
6ab62920c8
2 changed files with 6 additions and 4 deletions
|
@ -449,7 +449,7 @@ hamt_bitcount(uint32_t i)
|
|||
*/
|
||||
i = i - ((i >> 1) & 0x55555555);
|
||||
i = (i & 0x33333333) + ((i >> 2) & 0x33333333);
|
||||
return ((i + (i >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
|
||||
return (((i + (i >> 4)) & 0xF0F0F0F) * 0x1010101) >> 24;
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue