GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove sys.getdxp() and Tools/scripts/analyze_dxp.py: superceded by Py_STATS infra · Issue #97670 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove sys.getdxp() and Tools/scripts/analyze_dxp.py: superceded by Py_STATS infra#97670
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@vstinner
vstinner
opened on Sep 30, 2022
Issue body actions

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. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Sep 30, 2022
  2. mdboom commented on Sep 30, 2022

    @mdboom
    mdboom
    on Sep 30, 2022
    Contributor
    More actions

    Cc: @markshannon

  3. vstinner
    added a commit that references this issue on Oct 4, 2022

    gh-97670: Remove sys.getdxp() and analyze_dxp.py script (#97671)

    116fa62
  4. vstinner commented on Oct 17, 2022

    @vstinner
    vstinner
    on Oct 17, 2022
    MemberAuthor
    More actions

    Fixed by 116fa62

  5. vstinner
    closed this as completedon Oct 17, 2022
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 errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.