]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-27902: Add compatibility note to Profile docs (GH-7295)
authorTobias Kunze <r@rixx.de>
Mon, 4 Jun 2018 10:07:16 +0000 (12:07 +0200)
committerINADA Naoki <methane@users.noreply.github.com>
Mon, 4 Jun 2018 10:07:16 +0000 (19:07 +0900)
Doc/library/profile.rst

index 5dc0b2f9405306c823315b24ac4762e231d9e8ee..7b60426fbc0ab44b5e349500f9e2f88093f680c0 100644 (file)
@@ -327,11 +327,12 @@ Analysis of the profiler data is done using the :class:`~pstats.Stats` class.
    corresponding version of :mod:`profile` or :mod:`cProfile`.  To be specific,
    there is *no* file compatibility guaranteed with future versions of this
    profiler, and there is no compatibility with files produced by other
-   profilers.  If several files are provided, all the statistics for identical
-   functions will be coalesced, so that an overall view of several processes can
-   be considered in a single report.  If additional files need to be combined
-   with data in an existing :class:`~pstats.Stats` object, the
-   :meth:`~pstats.Stats.add` method can be used.
+   profilers, or the same profiler run on a different operating system.  If
+   several files are provided, all the statistics for identical functions will
+   be coalesced, so that an overall view of several processes can be considered
+   in a single report.  If additional files need to be combined with data in an
+   existing :class:`~pstats.Stats` object, the :meth:`~pstats.Stats.add` method
+   can be used.
 
    Instead of reading the profile data from a file, a :class:`cProfile.Profile`
    or :class:`profile.Profile` object can be used as the profile data source.