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 <rep...@bugs.python.org> <http://bugs.python.org/issue25558> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com