[issue2758] arg 2 of PyErr_SetFromErrnoWithFilename should be const

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: This is already fixed in trunk and the various 3.x branches. -- nosy: +brian.curtin priority: -> normal resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue2758] arg 2 of PyErr_SetFromErrnoWithFilename should be const

2008-05-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue2758] arg 2 of PyErr_SetFromErrnoWithFilename should be const

2008-05-04 Thread Uwe Kleine-König
New submission from Uwe Kleine-König <[EMAIL PROTECTED]>: Compiling an extension I get the warning: warning: passing argument 2 of ‘PyErr_SetFromErrnoWithFilename’ discards qualifiers from pointer target type I passed a const char *, which should be OK from looking at the implementation