[New-bugs-announce] [issue25923] More const char

Serhiy Storchaka report at bugs.python.org
Tue Dec 22 07:56:32 EST 2015


New submission from Serhiy Storchaka:

Proposed patch adds the const qualifier to char* parameter declarations and static char arrays if appropriate. This makes the code more strict and can help to catch bugs or generate more efficient code. In additional it can decrease memory consumption by avoiding copying constant data.

----------
assignee: serhiy.storchaka
components: Extension Modules, Interpreter Core
files: const_char_ptr.patch
keywords: patch
messages: 256837
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: More const char
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file41384/const_char_ptr.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25923>
_______________________________________


More information about the New-bugs-announce mailing list