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 amaury.forgeotdarc
Recipients Mark.Shannon, amaury.forgeotdarc, asvetlov, benjamin.peterson, brett.cannon, dmalcolm, ilblackdragon, jcea, larry, lemburg, mark.dickinson, vstinner
Date 2013-04-09.06:42:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365489724.29.0.756364385094.issue17206@psf.upfronthosting.co.za>
In-reply-to
Content
As I wrote in issue17589, there are some extension modules (pytables) that which assume that Py_INCREF is an expression:
  return Py_INCREF(x), x;
and Py_RETURN_NONE is also defined with a comma expression.

Oh, and Cython:
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
History
Date User Action Args
2013-04-09 06:42:04amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, brett.cannon, jcea, mark.dickinson, vstinner, larry, benjamin.peterson, asvetlov, dmalcolm, Mark.Shannon, ilblackdragon
2013-04-09 06:42:04amaury.forgeotdarcsetmessageid: <1365489724.29.0.756364385094.issue17206@psf.upfronthosting.co.za>
2013-04-09 06:42:04amaury.forgeotdarclinkissue17206 messages
2013-04-09 06:42:04amaury.forgeotdarccreate