Sitelet https://github.com/python/cpython/issues/97670
Skip to content

Remove sys.getdxp() and Tools/scripts/analyze_dxp.py: superceded by Py_STATS infra #97670

Description

@vstinner

In Python 3.10/3.11, the old DYNAMIC_EXECUTION_PROFILE and DXPAIRS macros were replaced with Py_STATS macro. The sys.getdxp() function is no longer used with Tools/scripts/analyze_dxp.py. Now if Python is built with ./configure --enable-pystats, statistics on opcodes are written into the /tmp/py_stats/ directory and these files can be analyzed with Tools/scripts/summarize_stats.py.

I propose to remove sys.getdxp() and Tools/scripts/analyze_dxp.py.

Activity

  1. mdboom commented on Sep 30, 2022

    @mdboom
    Contributor
  2. added a commit that references this issue on Oct 4, 2022
  3. vstinner commented on Oct 17, 2022

    @vstinner
    MemberAuthor

    Fixed by 116fa62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions