| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Remove outdated example scripts of the Tools/scripts/ directory: * gprof2html.py * md5sum.py * nm2def.py * pathfix.py * win_add2path.py Remove test_gprof2html, test_md5sum and test_pathfix of test_tools.
Created in 2002 by @gvanrossum. Following changes are mostly coding styles changes, no feature or bugfix. I didn't use gprof format for a long time. There are now many tools to profile programs with nice UI. I don't think that maintaining such tool in Python with a HTML output is still relevant today.
If someone wants such feature as part of Python, I would suggest to add a command line interface (CLI) to the hashlib module instead. The script doesn't support multithreading, whereas Python releases the GIL in hashlib. The script uses the old getopt module. @gvanrossum wrote in 2001:
Well, I don't think that it's still relevant in 2022. There are now many ways to easily distribute Python scripts (pip, GitHub, whatever works).
Helpers to extract symbols from Unix libs and auto-generate Windows definition files from them. Depends on nm(1). Tested on Linux and Solaris only (-p option to nm is for Solaris only). @malemburg: if you still use this script, it should be maintained outside Python. Python doesn't use it.
@hroncok: Script used by Fedora, see: https://discuss.python.org/t/remove-outdated-tools-scripts-scripts/19571/35 It can be maintained somewhere else.
Not used by the Windows installer: https://discuss.python.org/t/remove-outdated-tools-scripts-scripts/19571/20 |
Sorry, something went wrong.
There was a problem hiding this comment.
Kill 'em with fire!
Sorry, something went wrong.
|
Hi @vstinner , |
Sorry, something went wrong.
Yes, by copying the script out of an old branch into your repo. |
Sorry, something went wrong.
The python3.14.spec that you linked refers to %{_rpmconfigdir}/redhat/pathfix.py which gets pathfix.py from /usr/lib/rpm/redhat/pathfix.py. The file is installed by python-rpm-macros on my Fedora. So pathfix.py is now maintained by the python-rpm-macros project. The CentOS Stream package doesn't get pathfix.py from Python but from python-rpm-macros. |
Sorry, something went wrong.
|
Update: Ah, in fact pathfix.py is maintained in the fedora-python/pathfix repository. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Remove outdated example scripts of the Tools/scripts/ directory:
Remove test_gprof2html, test_md5sum and test_pathfix of test_tools.