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

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

[Python-Dev] reference leaks, __del__, and annotations [Python-Dev] reference leaks, __del__, and annotationsGreg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 1 02:52:23 CEST 2006
Nick Coghlan wrote:

> Generators are even more special, in that they only require finalisation in 
> the first place if they're stopped on a yield statement inside a try-finally 
> block.

I find it rather worrying that there could be a
few rare cases in which my generators cause
memory leaks, through no fault of my own and
without my being able to do anything about it.

Will there be a coding practice one can follow
to ensure that this doesn't happen?

--
Greg
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