[Python-checkins] bpo-30860: Always provide serialno. (#3507)
Eric Snow
webhook-mailer at python.org
Mon Sep 11 20:02:29 EDT 2017
https://github.com/python/cpython/commit/ba6d5d1defd7a281c8c8804e4b4cfd7370886236
commit: ba6d5d1defd7a281c8c8804e4b4cfd7370886236
branch: master
author: Eric Snow <ericsnowcurrently at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-09-11T17:02:24-07:00
summary:
bpo-30860: Always provide serialno. (#3507)
This fixes bpo-31407.
files:
M Include/internal/mem.h
diff --git a/Include/internal/mem.h b/Include/internal/mem.h
index 1624f378f67..f3a8f56e805 100644
--- a/Include/internal/mem.h
+++ b/Include/internal/mem.h
@@ -40,8 +40,8 @@ struct _pymem_runtime_state {
size_t ntimes_arena_allocated;
poolp usedpools[MAX_POOLS];
Py_ssize_t num_allocated_blocks;
- size_t serialno; /* incremented on each debug {m,re}alloc */
#endif /* WITH_PYMALLOC */
+ size_t serialno; /* incremented on each debug {m,re}alloc */
};
PyAPI_FUNC(void) _PyMem_Initialize(struct _pymem_runtime_state *);
More information about the Python-checkins
mailing list