This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ukleinek
Recipients ukleinek
Date 2008-05-04.17:42:03
SpamBayes Score 0.0034556093
Marked as misclassified No
Message-id <1209922929.05.0.442409778711.issue2758@psf.upfronthosting.co.za>
In-reply-to
Content
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 of PyErr_SetFromErrnoWithFilename.

Attached is a patch.  I don't expect this to break any API or ABI, but
you might know better.
History
Date User Action Args
2008-05-04 17:42:09ukleineksetspambayes_score: 0.00345561 -> 0.0034556093
recipients: + ukleinek
2008-05-04 17:42:09ukleineksetspambayes_score: 0.00345561 -> 0.00345561
messageid: <1209922929.05.0.442409778711.issue2758@psf.upfronthosting.co.za>
2008-05-04 17:42:05ukleineklinkissue2758 messages
2008-05-04 17:42:03ukleinekcreate