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 christian.heimes
Recipients christian.heimes, ntoronto
Date 2007-11-29.12:46:36
SpamBayes Score 0.251102
Marked as misclassified No
Message-id <>
When I run the code of test_function() in a shell I'm getting
the expected result of 2 collected items:

gc: collectable <dict 0xb78aa13c>
gc: collectable <function 0xb78a9374>

However the same code embedded in the test suite collects two additional

gc: collectable <dict 0x830061c>
gc: collectable <function 0x82a3d54>
gc: collectable <fastglobals 0x82a4244>
gc: collectable <tuple 0x82a168c>

I've used gc.set_debug(gc.DEBUG_LEAK) to get the information
Date User Action Args
2007-11-29 12:46:37christian.heimessetspambayes_score: 0.251102 -> 0.251102
recipients: + christian.heimes, ntoronto
2007-11-29 12:46:37christian.heimessetspambayes_score: 0.251102 -> 0.251102
messageid: <>
2007-11-29 12:46:37christian.heimeslinkissue1518 messages
2007-11-29 12:46:36christian.heimescreate