[issue4949] Constness in PyErr_NewException

2016-03-03 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Follow-up: #26476 -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue4949] Constness in PyErr_NewException

2011-06-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: This patch is not applicable anymore to 3.x. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker __

[issue4949] Constness in PyErr_NewException

2011-06-04 Thread Andreas Kloeckner
Andreas Kloeckner added the comment: ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4949] Constness in PyErr_NewException

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Assuming the patch doesn't cause warnings on the compilers that we use, it looks fine to me. -- ___ Python tracker ___ ___

[issue4949] Constness in PyErr_NewException

2010-10-16 Thread Andreas Kloeckner
Andreas Kloeckner added the comment: ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4949] Constness in PyErr_NewException

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, do you agree with the premise of this issue? The patch consists of adding 'const' in about 6 places in code and corresponding 6 places in capi doc. -- keywords: +easy -patch nosy: +loewis, tjreedy versions: +Python 3.1, Python 3.2 -Python 2.5,

[issue4949] Constness in PyErr_NewException

2009-06-22 Thread Andreas Kloeckner
Changes by Andreas Kloeckner : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue4949] Constness in PyErr_NewException

2009-01-16 Thread Sebastian Ramacher
Changes by Sebastian Ramacher : -- nosy: +sebastinas ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue4949] Constness in PyErr_NewException

2009-01-14 Thread Ulrich Eckhardt
Ulrich Eckhardt 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

[issue4949] Constness in PyErr_NewException

2009-01-14 Thread Andreas Kloeckner
New submission from Andreas Kloeckner : 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: norma