Skip to content

gh-97669: Remove outdated example scripts - #97674

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:main
Closed

gh-97669: Remove outdated example scripts#97674
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:main

Conversation

@vstinner

@vstinnervstinner commented Sep 30, 2022

Copy link
Copy Markdown
Member

Remove outdated example scripts. Copy them from Python 3.11 if you still need them.

Removed scripts:

  • byext.py
  • byteyears.py
  • cleanfuture.py
  • copytime.py
  • crlf.py
  • db2pickle.py
  • dutree.doc
  • dutree.py
  • find-uname.py
  • find_recursionlimit.py
  • finddiv.py
  • findlinksto.py
  • findnocoding.py
  • fixcid.py
  • fixdiv.py
  • fixheader.py
  • fixnotice.py
  • fixps.py
  • get-remote-certificate.py
  • google.py
  • highlight.py
  • ifdef.py
  • import_diagnostics.py
  • lfcr.py
  • linktree.py
  • lll.py
  • mailerdaemon.py
  • make_ctype.py
  • md5sum.py
  • mkreal.py
  • objgraph.py
  • parse_html5_entities.py
  • pdeps.py
  • pickle2db.py
  • pindent.py
  • pysource.py
  • reindent-rst.py
  • rgrep.py
  • suff.py
  • texi2html.py
  • untabify.py
  • which.py

Changes:

  • Remove test_fixcid, test_pdeps and test_pindent of test.test_tools.
  • Remove get-remote-certificate.py changelog entry, since the script was removed.
  • FYI there is a copy of crlf.py in Lib/test/test_lib2to3/data/.

Remove outdated example scripts. Copy them from Python 3.11 if you
still need them.
Removed scripts:
* byext.py
* byteyears.py
* cleanfuture.py
* copytime.py
* crlf.py
* db2pickle.py
* dutree.doc
* dutree.py
* find-uname.py
* find_recursionlimit.py
* finddiv.py
* findlinksto.py
* findnocoding.py
* fixcid.py
* fixdiv.py
* fixheader.py
* fixnotice.py
* fixps.py
* get-remote-certificate.py
* google.py
* highlight.py
* ifdef.py
* import_diagnostics.py
* lfcr.py
* linktree.py
* lll.py
* mailerdaemon.py
* make_ctype.py
* md5sum.py
* mkreal.py
* objgraph.py
* parse_html5_entities.py
* pdeps.py
* pickle2db.py
* pindent.py
* pysource.py
* reindent-rst.py
* rgrep.py
* suff.py
* texi2html.py
* untabify.py
* which.py
Changes:
* Remove test_fixcid, test_pdeps and test_pindent of test.test_tools.
* Remove get-remote-certificate.py changelog entry, since the script
was removed.
* FYI there is a copy of crlf.py in Lib/test/test_lib2to3/data/.
@vstinner

Copy link
Copy Markdown
MemberAuthor

Here is a first PR to remove scripts which look outdated to me. The remaining ones might be useful or are referenced in other parts of Python, so I prefer to write separated PRs for the other scripts that I plan to remove.

Comment threadTools/scripts/parse_html5_entities.py
@vstinner

Copy link
Copy Markdown
MemberAuthor

Oh, I didn't want to remove md5sum.py in this PR. I also restored untabify.py since it's used by patchcheck.py.

@vstinner

Copy link
Copy Markdown
MemberAuthor

Ooops, I didn't plan to create a PR on the branch "main", so I created a new PR: PR #97675.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@ezio-melotti@bedevere-bot