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 berker.peksag
Recipients berker.peksag, serhiy.storchaka
Date 2016-04-27.09:52:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461750763.21.0.340834439975.issue26868@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the write-up, Serhiy.

It looks like "... == -1" is more popular in the codebase (for  PyModule_AddObject, "... < 0" is the most popular style).

Here is a patch to document the current behavior of PyModule_AddObject.
History
Date User Action Args
2016-04-27 09:52:43berker.peksagsetrecipients: + berker.peksag, serhiy.storchaka
2016-04-27 09:52:43berker.peksagsetmessageid: <1461750763.21.0.340834439975.issue26868@psf.upfronthosting.co.za>
2016-04-27 09:52:43berker.peksaglinkissue26868 messages
2016-04-27 09:52:43berker.peksagcreate