GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — gh-97670: Remove sys.getdxp() and analyze_dxp.py script by vstinner · Pull Request #97671 · python/cpython Conversation
|
|
@markshannon: Would you mind to review this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@brandtbucher: Would you mind to review this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Removing the script seems fine. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I just searched in the PyPI top 5000 projects: I found 0 projects using |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@smontanaro: I found a script using # Copyright (c) 2001-2004 Twisted Matrix Laboratories. # See LICENSE for details. (...) def report(email, appname): """ Send an RLE encoded version of sys.getdxp() off to our Top Men (tm) for analysis. """ if hasattr(sys, 'getdxp') and appname: dxp = xmlrpclib.ServerProxy("http://manatee.mojam.com:7304") dxp.add_dx_info(appname, email, sys.version_info[:3], rle(sys.getdxp())) See twisted/python/dxprofile.py for the full source with the This script was part of Twisted and was removed in Twisted Core 8.0.0 (2008-03-17) because it no longer worked (issue #2908). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I found references to getdxp() by @smontanaro on python-dev mailing list in 2001-2003: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah by the way, as you can see in this PR, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@vstinner As you might have expected, I'm no longer using the dxp stuff, but thanks for checking. :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Remove the sys.getdxp() function and the Tools/scripts/analyze_dxp.py script. DXP stands for "dynamic execution pairs". They were related to DYNAMIC_EXECUTION_PROFILE and DXPAIRS macros which have been removed in Python 3.11. Python can now be built with "./configure --enable-pystats" to gather statistics on Python opcodes.
|
Thanks for reviews. It's now removed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.