Message 104758 - Python tracker (original) (raw)

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.