From: Raymond Hettinger Date: Sat, 5 Oct 2002 06:40:49 +0000 (+0000) Subject: Backport 1.94: X-Git-Tag: v2.2.2b1~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=490561e921275920314f829b6ec9b2b7bd4feebd;p=thirdparty%2FPython%2Fcpython.git Backport 1.94: Clarified that the footnote applies to versions 1.5 and after instead of just version 1.5. Closes SF bug 577793. --- diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 94db3e929c8e..ef80c649c7a4 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -959,10 +959,10 @@ instead. Also, when \method{__del__()} is invoked in response to a module being deleted (e.g., when execution of the program is done), other globals referenced by the \method{__del__()} method may already have been deleted. For this reason, \method{__del__()} methods should do the -absolute minimum needed to maintain external invariants. Python 1.5 -guarantees that globals whose name begins with a single underscore are -deleted from their module before other globals are deleted; if no -other references to such globals exist, this may help in assuring that +absolute minimum needed to maintain external invariants. Starting with +version 1.5, Python guarantees that globals whose name begins with a single +underscore are deleted from their module before other globals are deleted; +if no other references to such globals exist, this may help in assuring that imported modules are still available at the time when the \method{__del__()} method is called. \end{notice}