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 serhiy.storchaka
Recipients berker.peksag, serhiy.storchaka
Date 2016-04-27.07:19:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461741574.68.0.341336061054.issue26868@psf.upfronthosting.co.za>
In-reply-to
Content
Testing returned value of PyModule_AddObject() is correct. This is a matter of style what to use: `if (...)`, `if (... == -1)` or `if (... < 0)`.

But the problem with a leak is more general. I have opened a discussion on Python-Dev: http://comments.gmane.org/gmane.comp.python.devel/157545 .
History
Date User Action Args
2016-04-27 07:19:34serhiy.storchakasetrecipients: + serhiy.storchaka, berker.peksag
2016-04-27 07:19:34serhiy.storchakasetmessageid: <1461741574.68.0.341336061054.issue26868@psf.upfronthosting.co.za>
2016-04-27 07:19:34serhiy.storchakalinkissue26868 messages
2016-04-27 07:19:34serhiy.storchakacreate