diff --git a/docs/changelog.rst b/docs/changelog.rst index 855ef734..3c0a46b2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -25,6 +25,8 @@ In progress (unreleased) ``import requests`` in a Mitogen child * :gh:issue:`1403` :mod:`mitogen`: Add initial support for :py:class:`importlib.resource.abc.ResourceReader` protocol +* :gh:issue:`1407` :mod:`mitogen`: Fix :exc:`AttributeError` in + :mod:`mitogen.profiler` v0.3.36 (2025-12-01) diff --git a/mitogen/profiler.py b/mitogen/profiler.py index 512a593e..bbf6086a 100644 --- a/mitogen/profiler.py +++ b/mitogen/profiler.py @@ -90,7 +90,7 @@ def merge_stats(outpath, inpaths): break time.sleep(0.2) - pstats.dump_stats(outpath) + stats.dump_stats(outpath) def generate_stats(outpath, tmpdir):