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 belopolsky
Recipients akitada, belopolsky, christian.heimes, josm, loewis, mark.dickinson, rhettinger, robertwb, zanella
Date 2010-05-02.00:03:19
SpamBayes Score 0.0001737314
Marked as misclassified No
Message-id <1272758602.46.0.659090884038.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
This patch, bltinmodule4.diff, seems to work for all cases.

Mark,

It looks like I came up with almost the same logic as you did.   The only difference that I can see is that your code does not check that nb_int returns an integer.  Also I put repeated logic into a separate function.

The patch includes unit tests that pass reference leak test.
History
Date User Action Args
2010-05-02 00:03:24belopolskysetrecipients: + belopolsky, loewis, rhettinger, mark.dickinson, christian.heimes, josm, robertwb, zanella, akitada
2010-05-02 00:03:22belopolskysetmessageid: <1272758602.46.0.659090884038.issue1533@psf.upfronthosting.co.za>
2010-05-02 00:03:20belopolskylinkissue1533 messages
2010-05-02 00:03:20belopolskycreate