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/2000-July/007434.html below:

[Python-Dev] Product iteration

[Python-Dev] Product iteration [Python-Dev] Product iterationMoshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Wed, 26 Jul 2000 15:21:00 +0300 (IDT)
On Wed, 26 Jul 2000, Guido van Rossum wrote:

> > I think I'd rather have this solved by weak references then by building
> > cycles. Cycles are evil even in the face of GC -- you have undetermined
> > finalization.
> 
> But in this case, there aren't any custom finalizers involved in the
> cycle (although there may be some *hanging off* the cycle).

Yes, but those finalizers hanging off the cycle would occur in some random
time in the future, not right now, hence rendering the

def f():
	fp = open("fff")
	pass

idiom dangerous, since you're not sure how long fp will remain open.

--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez




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