summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-09-12 00:02:24 (GMT)
committerGitHub <noreply@github.com>2017-09-12 00:02:24 (GMT)
commitba6d5d1defd7a281c8c8804e4b4cfd7370886236 (patch)
treea9874715adde8bce37702be9f1b55bdef1e37444 /Include
parent9d984fd2b097c8c29479d1c3eb740995fe1ccb0d (diff)
downloadcpython-ba6d5d1defd7a281c8c8804e4b4cfd7370886236.zip
cpython-ba6d5d1defd7a281c8c8804e4b4cfd7370886236.tar.gz
cpython-ba6d5d1defd7a281c8c8804e4b4cfd7370886236.tar.bz2
bpo-30860: Always provide serialno. (#3507)
This fixes bpo-31407.
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/mem.h b/Include/internal/mem.h
index 1624f37..f3a8f56 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 *);