type checking

Michael Hudson mwh at python.net
Mon Oct 13 08:03:58 EDT 2003


Stephen Horne <$$$$$$$$$$$$$$$$$@$$$$$$$$$$$$$$$$$$$$.co.uk> writes:

> In Python, it doesn't seem to be an issue - presumably because Pythons
> garbage collection is based on reference counting so destruction
> happens immediately when the last reference has gone. I'm not sure
> what happens when there are reference cycles, though - I know Python
> handles them, but I'm not sure if they delay the garbage collection.

They do.  By how much, well, depends.

Cheers,
mwh

-- 
  I'm okay with intellegent buildings, I'm okay with non-sentient
  buildings. I have serious reservations about stupid buildings.
     -- Dan Sheppard, ucam.chat (from Owen Dunn's summary of the year)




More information about the Python-list mailing list