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/063247.html below:

[Python-Dev] reference leaks, __del__, and annotations

[Python-Dev] reference leaks, __del__, and annotationsTim Peters tim.peters at gmail.com
Fri Mar 31 19:14:36 CEST 2006
[Phillip J. Eby]
> ...
> As Tim suggested, it'd be better to have the code be generator-specific, at
> least for now.  That had actually been my original plan, to make it
> generator-specific, but I was afraid of breaking encapsulation in the
> garbage collector by having it know about generators.

It sucks in a way, but so would adding yet another new slot just for
(at present, and possibly forever) making gc and generators play nicer
together.  "Practicality beats purity" here.

> But now that Uncle Timmy has blessed the approach, I'll go back and add it in.
> (On Monday, unless somebody gets to it before me.)

It won't be me:  I wasn't even able to make enough time to understand
the new generator features at the Python level, let alone the
implementation.  At PyCon, when Guido showed his slide with a new
yield-as-expression example, for the rest of his talk I was wondering
what the heck the example meant <0.3 wink>.
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