From c5738747acc896b30d8540c60b0713ac949871b5 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 19 Oct 2001 16:11:28 +0000 Subject: [PATCH] Add deprecations for profile.HotProfile and profile.OldProfile, since they will no longer exist in 2.2. --- Doc/lib/libprofile.tex | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3