Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 64fe343

Browse filesBrowse files
authored
gh-97681: Remove Tools/demo/ directory (#97682)
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 Remove the following old demo scripts: * beer.py * eiffel.py * hanoi.py * life.py * markov.py * mcast.py * queens.py * redemo.py * rpython.py * rpythond.py * sortvisu.py * spreadsheet.py * vector.py Changes: * Remove a reference to the redemo.py script in the regex howto documentation. * Remove a reference to the removed Tools/demo/ directory in the curses documentation. * Update PC/layout/ to remove the reference to Tools/demo/ directory.
1 parent e6f9ec5 commit 64fe343
Copy full SHA for 64fe343

File tree

Expand file treeCollapse file tree

20 files changed

+14
-2730
lines changed
Filter options
Expand file treeCollapse file tree

20 files changed

+14
-2730
lines changed

‎Doc/howto/regex.rst

Copy file name to clipboardExpand all lines: Doc/howto/regex.rst
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,7 @@ containing information about the match: where it starts and ends, the substring
378378
it matched, and more.
379379

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

387383
This HOWTO uses the standard Python interpreter for its examples. First, run the
388384
Python interpreter, import the :mod:`re` module, and compile a RE::

‎Doc/library/curses.rst

Copy file name to clipboardExpand all lines: Doc/library/curses.rst
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ Linux and the BSD variants of Unix.
4242
Tutorial material on using curses with Python, by Andrew Kuchling and Eric
4343
Raymond.
4444

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

4946
.. _curses-functions:
5047

‎Doc/whatsnew/3.12.rst

Copy file name to clipboardExpand all lines: Doc/whatsnew/3.12.rst
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ CPython bytecode changes
170170
(Contributed by Ken Jin in :gh:`93429`.)
171171

172172

173+
Demos and Tools
174+
===============
175+
176+
* Remove the ``Tools/demo/`` directory which contained old demo scripts. A copy
177+
can be found in the `old-demos project
178+
<https://github.com/gvanrossum/old-demos>`_.
179+
(Contributed by Victor Stinner in :gh:`97681`.)
180+
181+
173182
Deprecated
174183
==========
175184

+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Remove the ``Tools/demo/`` directory which contained old demo scripts. A copy
2+
can be found in the `old-demos project
3+
<https://github.com/gvanrossum/old-demos>`_. Patch by Victor Stinner.

‎PC/layout/main.py

Copy file name to clipboardExpand all lines: PC/layout/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
DATA_DIRS = FileNameSet("data")
6060

61-
TOOLS_DIRS = FileNameSet("scripts", "i18n", "demo", "parser")
61+
TOOLS_DIRS = FileNameSet("scripts", "i18n", "parser")
6262
TOOLS_FILES = FileSuffixSet(".py", ".pyw", ".txt")
6363

6464

‎Tools/README

Copy file name to clipboardExpand all lines: Tools/README
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ buildbot Batchfiles for running on Windows buildbot workers.
55

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

8-
demo Several Python programming demos.
9-
108
freeze Create a stand-alone executable from a Python program.
119

1210
gdb Python code to be run inside gdb, to make it easier to

‎Tools/demo/README

Copy file name to clipboardExpand all lines: Tools/demo/README
-16Lines changed: 0 additions & 16 deletions
This file was deleted.

‎Tools/demo/beer.py

Copy file name to clipboardExpand all lines: Tools/demo/beer.py
-25Lines changed: 0 additions & 25 deletions
This file was deleted.

‎Tools/demo/eiffel.py

Copy file name to clipboardExpand all lines: Tools/demo/eiffel.py
-146Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.