From: Fred Drake Date: Fri, 19 Oct 2001 16:11:28 +0000 (+0000) Subject: Add deprecations for profile.HotProfile and profile.OldProfile, since they X-Git-Tag: v2.1.2c1~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5738747acc896b30d8540c60b0713ac949871b5;p=thirdparty%2FPython%2Fcpython.git Add deprecations for profile.HotProfile and profile.OldProfile, since they will no longer exist in 2.2. --- diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex index ef8275f4a817..1372a0ae7e50 100644 --- a/Doc/lib/libprofile.tex +++ b/Doc/lib/libprofile.tex @@ -665,6 +665,8 @@ constant :-). \subsection{OldProfile Class \label{profile-old}} +\deprecated{2.1.2}{This class will be removed in Python 2.2.} + The following derived profiler simulates the old style profiler, providing errant results on recursive functions. The reason for the usefulness of this profiler is that it runs faster (i.e., less @@ -727,6 +729,8 @@ class OldProfile(Profile): \subsection{HotProfile Class \label{profile-HotProfile}} +\deprecated{2.1.2}{This class will be removed in Python 2.2.} + This profiler is the fastest derived profile example. It does not calculate caller-callee relationships, and does not calculate cumulative time under a function. It only calculates time spent in a