This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Update demo files
Type: enhancement Stage: resolved
Components: Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Ayushparikh-code, eric.smith, iritkatriel, rhettinger, serhiy.storchaka, terry.reedy
Priority: normal Keywords: patch

Created on 2021-08-29 17:35 by Ayushparikh-code, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 28046 closed Ayushparikh-code, 2021-08-29 17:44
Messages (6)
msg400556 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-08-29 19:33
Please explain the issue - in what way should the demo files be updated?
msg400557 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-08-29 20:20
It looks like they want to add a RatinMaze.py demo program, which solves a maze.
msg400572 - (view) Author: Ayush Parikh (Ayushparikh-code) * Date: 2021-08-30 05:32
yes eric you're right as that demo folder already consists of some common
software problems like n-queens ,etc so i also want to ratinmaze.py demo
program their !

On Mon, Aug 30, 2021 at 1:50 AM Eric V. Smith <report@bugs.python.org>
wrote:

>
> Eric V. Smith <eric@trueblade.com> added the comment:
>
> It looks like they want to add a RatinMaze.py demo program, which solves a
> maze.
>
> ----------
> nosy: +eric.smith
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue45047>
> _______________________________________
>
msg400574 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-08-30 06:28
This submission is somewhat similar to #45037 more promising.  It at least needs more explanation as to what it contributes that is not already present.  Plus see review comment.

(This part of my previous answer still applies: "When responding by email, please delete the text you are responding to.")

We are not really looking for new examples for Tools/demo and there is no policy I know of for adding anything.  The files were, at least, reviewed and updated a couple of years ago in #38539, where Raymond described it as "a quaint museum to the past."  He also noted that beginners seldom see it.

You are likely to get a better response if you write a bugfix patch, or an enhancement that a core developer has expressed an interest in.  You should also know that comments like "can u plz review it so that it can be merged !" produce a negative impression, at least on me.
msg400577 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-08-30 08:02
The demos directory is described as follows:

“This directory contains a collection of demonstration scripts for
various aspects of Python programming.“

Which aspect of python programming does the rat in a maze demo cover which is not already covered by the existing demo scripts?
msg400578 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-08-30 08:54
There are currently many resources in internet where you can find examples and demos on Python. The CPython distribution should not include every piece of code written by Python learner. You can publish it on GitHab, on StackOverflow, on more specialized resources, in your own blog, include in your book. If any core developer is interested in your code and wants to include it in CPython, they will contact you.
History
Date User Action Args
2022-04-11 14:59:49adminsetgithub: 89210
2021-08-30 08:54:07serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg400578

resolution: rejected
stage: patch review -> resolved
2021-08-30 08:02:46iritkatrielsetmessages: + msg400577
2021-08-30 06:28:02terry.reedysetnosy: + rhettinger, terry.reedy
messages: + msg400574
2021-08-30 05:32:05Ayushparikh-codesetmessages: + msg400572
2021-08-29 20:20:13eric.smithsetnosy: + eric.smith
messages: + msg400557
2021-08-29 19:33:20iritkatrielsetnosy: + iritkatriel
messages: + msg400556
2021-08-29 17:44:50Ayushparikh-codesetkeywords: + patch
stage: patch review
pull_requests: + pull_request26492
2021-08-29 17:44:24Ayushparikh-codesetpull_requests: - pull_request26491
2021-08-29 17:35:13Ayushparikh-codecreate