Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-97681: Remove Tools/demo/ directory #97682

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Doc/howto/regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,7 @@ containing information about the match: where it starts and ends, the substring
it matched, and more.

You can learn about this by interactively experimenting with the :mod:`re`
module. If you have :mod:`tkinter` available, you may also want to look at
:source:`Tools/demo/redemo.py`, a demonstration program included with the
Python distribution. It allows you to enter REs and strings, and displays
whether the RE matches or fails. :file:`redemo.py` can be quite useful when
trying to debug a complicated RE.
module.

This HOWTO uses the standard Python interpreter for its examples. First, run the
Python interpreter, import the :mod:`re` module, and compile a RE::
Expand Down
3 changes: 0 additions & 3 deletions Doc/library/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ Linux and the BSD variants of Unix.
Tutorial material on using curses with Python, by Andrew Kuchling and Eric
Raymond.

The :source:`Tools/demo/` directory in the Python source distribution contains
some example programs using the curses bindings provided by this module.


.. _curses-functions:

Expand Down
9 changes: 9 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ CPython bytecode changes
(Contributed by Ken Jin in :gh:`93429`.)


Demos and Tools
===============

* Remove the ``Tools/demo/`` directory which contained old demo scripts. A copy
can be found in the `old-demos project
<https://github.com/gvanrossum/old-demos>`_.
(Contributed by Victor Stinner in :gh:`97681`.)


Deprecated
==========

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove the ``Tools/demo/`` directory which contained old demo scripts. A copy
can be found in the `old-demos project
<https://github.com/gvanrossum/old-demos>`_. Patch by Victor Stinner.
2 changes: 1 addition & 1 deletion PC/layout/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

DATA_DIRS = FileNameSet("data")

TOOLS_DIRS = FileNameSet("scripts", "i18n", "demo", "parser")
TOOLS_DIRS = FileNameSet("scripts", "i18n", "parser")
TOOLS_FILES = FileSuffixSet(".py", ".pyw", ".txt")


Expand Down
2 changes: 0 additions & 2 deletions Tools/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ buildbot Batchfiles for running on Windows buildbot workers.

ccbench A Python threads-based concurrency benchmark. (*)

demo Several Python programming demos.

freeze Create a stand-alone executable from a Python program.

gdb Python code to be run inside gdb, to make it easier to
Expand Down
16 changes: 0 additions & 16 deletions Tools/demo/README

This file was deleted.

25 changes: 0 additions & 25 deletions Tools/demo/beer.py

This file was deleted.

146 changes: 0 additions & 146 deletions Tools/demo/eiffel.py

This file was deleted.

Loading