A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062872.html below:

[Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

[Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.cNeal Norwitz nnorwitz at gmail.com
Mon Mar 27 23:30:27 CEST 2006
On 3/27/06, Thomas Wouters <thomas at python.org> wrote:
>
> The teeobject has GC (hence the word 'and' in 'itertools.tee and its
> internal teedataobject' ;-) The problem with test_generators is that this
> also leaks:
>
> def leak():
>     def gen():
>         while True:
>             yield g
>     g = gen()
>
> leak()

Please add a test for this to the leakers and remove the tee test in
leakers if that no longer leaks.

Thanks,
n
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4