[New-bugs-announce] [issue4949] Constness in PyErr_NewException

Andreas Kloeckner report at bugs.python.org
Wed Jan 14 19:04:59 CET 2009

New submission from Andreas Kloeckner <inform at tiker.net>:

The "name" argument to PyErr_NewException() should be changed from "char
*" to "const char *". Since the rest of pyerrors.h is const-correct,
this seems like an omission.

components: Interpreter Core
messages: 79868
nosy: inducer
severity: normal
status: open
title: Constness in PyErr_NewException
versions: Python 2.5, Python 2.6, Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list