Skip to content

Conversation

@Yhg1s
Copy link
Member

@Yhg1s Yhg1s commented Mar 31, 2017

Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.

Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.

(cherry picked from commit a00c3fd and 06bb487)

Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.

Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.

(cherry picked from commit a00c3fd and 06bb487)
@Yhg1s Yhg1s closed this Apr 1, 2017
@Yhg1s Yhg1s deleted the backport-a00c3fd-3.5 branch April 1, 2017 23:52
@Yhg1s Yhg1s restored the backport-a00c3fd-3.5 branch April 1, 2017 23:53
@Yhg1s Yhg1s deleted the backport-a00c3fd-3.5 branch April 3, 2017 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants