[New-bugs-announce] [issue25558] Use static asserts in C code

Serhiy Storchaka report at bugs.python.org
Thu Nov 5 11:46:40 EST 2015

New submission from Serhiy Storchaka:

Proposed patch converts some dynamic assert to static asserts (Py_BUILD_ASSERT_EXPR). This allows to check static invariants at compile time.

components: Extension Modules, Interpreter Core
files: use_Py_BUILD_ASSERT_EXPR.patch
keywords: patch
messages: 254117
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Use static asserts in C code
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file40955/use_Py_BUILD_ASSERT_EXPR.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list