Issue33856
Created on 2018-06-14 07:43 by matrixise, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 7755 | merged | matrixise, 2018-06-16 19:56 | |
| PR 7756 | merged | miss-islington, 2018-06-16 21:22 | |
| PR 7757 | merged | miss-islington, 2018-06-16 21:24 | |
| PR 7758 | merged | terry.reedy, 2018-06-16 21:37 | |
| Messages (11) | |||
|---|---|---|---|
| msg319504 - (view) | Author: Steven D'Aprano (steven.daprano) * | Date: 2018-06-14 08:26 | |
What do you mean "type help"? help() is added by the site module, if you've done something to skip running the site module it won't be added. Can you give an example of what you are trying to do, what happens and what you expected? Are you running in IDLE or the regular REPL? |
|||
| msg319776 - (view) | Author: Stéphane Wirtel (matrixise) * | Date: 2018-06-16 18:58 | |
Hi Steven, On Thursday, I gave a python training with some Windows computers and I have executer python, just the REPL, normally, you have Python 3.6.5 (default, Apr 4 2018, 15:01:18) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> But I didn't see the message with "help" in the prompt on the Windows computer. I would like to confirm with the standard bundle of python.org but I don't have a windows computer. and I didn't check the author of this bundle, but it was the 3.6.x version. |
|||
| msg319777 - (view) | Author: Ammar Askar (ammar2) * | Date: 2018-06-16 19:05 | |
Can't recreate from latest Python 3.6.5 downloaded off python.org > D:\Python365\python.exe Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. |
|||
| msg319778 - (view) | Author: Zachary Ware (zach.ware) * | Date: 2018-06-16 19:21 | |
I suspect you either had a non-python.org version of Python, or had the embeddable distribution rather than a proper installation (the embeddable distribution should not be used unless you're embedding, hence the name :)). Either way, the standard distribution started normally imports site by default, which monkeypatches `help` into builtins on all platforms. |
|||
| msg319780 - (view) | Author: Stéphane Wirtel (matrixise) * | Date: 2018-06-16 19:39 | |
Hi Zach, in fact, it's not a problem with Python itself, but with Idle. I just downloaded a virtualbox image via (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/) and started the installation of Python 3.6.5 and when you execute IDLE, "help()" is not present, but this sentence is present in the prompt of python3. I am going to provide a small patch. |
|||
| msg319782 - (view) | Author: Stéphane Wirtel (matrixise) * | Date: 2018-06-16 19:57 | |
PR proposed |
|||
| msg319788 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2018-06-16 21:20 | |
New changeset 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357 by Terry Jan Reedy (Stéphane Wirtel) in branch 'master': bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) https://github.com/python/cpython/commit/9d49f85064c388e2dddb9f8cb4ae1f486bc8d357 |
|||
| msg319789 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2018-06-16 21:23 | |
Thanks for the clarification. >>> help works but is not in the sign-on message, even though it is by far the most important item mentioned. I just merged to master. |
|||
| msg319790 - (view) | Author: miss-islington (miss-islington) | Date: 2018-06-16 21:37 | |
New changeset 6bb770445192e19aef94111c6a9913e1526c4d64 by Miss Islington (bot) in branch '3.7': bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) https://github.com/python/cpython/commit/6bb770445192e19aef94111c6a9913e1526c4d64 |
|||
| msg319791 - (view) | Author: miss-islington (miss-islington) | Date: 2018-06-16 21:44 | |
New changeset 25531fb7b8338a21cdcdf2ce0f981d781d21641f by Miss Islington (bot) in branch '3.6': bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) https://github.com/python/cpython/commit/25531fb7b8338a21cdcdf2ce0f981d781d21641f |
|||
| msg319792 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2018-06-16 22:15 | |
New changeset c488558faaff4ffa44ba20e0c1f1fc8f18fe722f by Terry Jan Reedy in branch '2.7': [2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758) https://github.com/python/cpython/commit/c488558faaff4ffa44ba20e0c1f1fc8f18fe722f |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:01 | admin | set | github: 78037 |
| 2018-06-16 22:15:55 | terry.reedy | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2018-06-16 22:15:23 | terry.reedy | set | messages: + msg319792 |
| 2018-06-16 21:44:04 | miss-islington | set | messages: + msg319791 |
| 2018-06-16 21:37:58 | miss-islington | set | nosy:
+ miss-islington messages: + msg319790 |
| 2018-06-16 21:37:31 | terry.reedy | set | pull_requests: + pull_request7366 |
| 2018-06-16 21:24:07 | miss-islington | set | keywords:
+ patch stage: backport needed -> patch review pull_requests: + pull_request7365 |
| 2018-06-16 21:23:25 | terry.reedy | set | status: closed -> open type: behavior |
| 2018-06-16 21:22:16 | miss-islington | set | pull_requests: + pull_request7364 |
| 2018-06-16 21:20:59 | terry.reedy | set | messages: + msg319788 |
| 2018-06-16 19:57:15 | matrixise | set | messages: + msg319782 |
| 2018-06-16 19:56:40 | matrixise | set | pull_requests: + pull_request7363 |
| 2018-06-16 19:39:56 | matrixise | set | messages: + msg319780 |
| 2018-06-16 19:21:12 | zach.ware | set | status: open -> closed nosy:
+ zach.ware resolution: not a bug |
| 2018-06-16 19:05:49 | ammar2 | set | nosy:
+ ammar2 messages: + msg319777 |
| 2018-06-16 18:58:22 | matrixise | set | messages: + msg319776 |
| 2018-06-15 19:45:49 | terry.reedy | set | nosy:
+ terry.reedy |
| 2018-06-14 08:26:13 | steven.daprano | set | nosy:
+ steven.daprano messages: + msg319504 |
| 2018-06-14 07:43:06 | matrixise | create | |