Language / Data model / Objects, values and types (2.6-3.1) third paragraph, has the following note: "(Implementation note: the current implementation uses a reference-counting scheme with (optional) delayed detection of cyclically linked garbage, which collects most objects as soon as they become unreachable, but is not guaranteed to collect garbage containing circular references. See the documentation of the gc module for information on controlling the collection of cyclic garbage.)" There are two issues here: there are now other implementations that act differently; CPython may change (as GvR reiterated strongly today in the PyDev thread "__del__ and tp_dealloc in the IO lib", in response to a request that the current behavior be defined and documented as not permanent). So I suggest: change 'the current implementation' to 'CPython currently' add "Other implementations act differently and CPython may change." (at the end)
Sorry about that. First one I've ever done. Consecrating more on how than what. John > Subject: [] Adjust reference-counting note > To: johnhitz321@msn.com > From: report@bugs.python.org > Date: Tue, 31 Mar 2009 02:20:45 +0000 > > > Terry J. Reedy <tjreedy@udel.edu> added the comment: > > The patch has an error. It says 'Python currently...' instead of > 'CPython currently....', as in my suggestion. > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue5039> > _______________________________________ _________________________________________________________________ Windows Live⢠SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009