[issue4949] Constness in PyErr_NewException

Ulrich Eckhardt report at bugs.python.org
Wed Jan 14 20:41:55 CET 2009


Ulrich Eckhardt <eckhardt at satorlaser.com> added the comment:

It's not just that function, at least not in trunk. There are also 
PyErr_SetFromErrnoWithFilename, PyErr_SetFromErrnoWithUnicodeFilename 
and _PyErr_BadInternalCall which should be made const correct, see 
attached patch for trunk.

This patch also fixes some inconsistencies between the documentation 
and warning support functions.

----------
keywords: +patch
nosy: +eckhardt
Added file: http://bugs.python.org/file12745/python-2.7-const-error.1.patch

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


More information about the Python-bugs-list mailing list