]> granicus.if.org Git - python/commit
Add missing PyObject_GC_Track call, causing *some* itertools.tee objects to
authorThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 22:33:13 +0000 (22:33 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 22:33:13 +0000 (22:33 +0000)
commitb3deb94dc6fab592a825811e8a985fd2d8bbe2b4
treeb6bb9e2f3d47d72c02886dc827c25a32b655e3dc
parentc6e55068cad6f2178981eec4f0a0a583b8bba21a
Add missing PyObject_GC_Track call, causing *some* itertools.tee objects to
not be tracked by GC. This fixes 254 of test_generators' refleaks on my
machine, but I'm sure something else will make them come back :>

Not adding a separate test for this kind of cycle, since the existing
fib/m235 already test them in more extensive ways than any 'minimal' test
has been able to manage.
Lib/test/test_generators.py
Modules/itertoolsmodule.c