Message264358
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 . |
|
Date |
User |
Action |
Args |
2016-04-27 07:19:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, berker.peksag |
2016-04-27 07:19:34 | serhiy.storchaka | set | messageid: <1461741574.68.0.341336061054.issue26868@psf.upfronthosting.co.za> |
2016-04-27 07:19:34 | serhiy.storchaka | link | issue26868 messages |
2016-04-27 07:19:34 | serhiy.storchaka | create | |
|