Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2016-12-17.10:09:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the comment to issue28765 patch Victor suggested to replace "Py_INCREF(Py_None); return Py_None;" with "Py_RETURN_NONE;".

Here is a Coccinelle [1] semantic patch that replaces all returns of new references to None, True or False with macros Py_RETURN_NONE, Py_RETURN_TRUE or Py_RETURN_FALSE correspondingly.

Date User Action Args
2016-12-17 10:09:47serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2016-12-17 10:09:47serhiy.storchakasetmessageid: <>
2016-12-17 10:09:47serhiy.storchakalinkissue28999 messages
2016-12-17 10:09:47serhiy.storchakacreate