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.

Author amaajemyfren
Recipients Chas Belov, amaajemyfren, docs@python
Date 2020-05-25.16:40:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAKyeSh0_GtKHSO7BJ2z1Zd7rjdm5w3a3eQYr8AdPJx25CJ0pBQ@mail.gmail.com>
In-reply-to <1590352457.14.0.0722275473169.issue40748@roundup.psfhosted.org>
Content
On Sun, May 24, 2020 at 11:34 PM Chas Belov <report@bugs.python.org> wrote:

>
> I'm guessing your point is that we only need to show >>> and ... when there will be print output so that we need to distinguish between what is input and what is output.
>

Yes, that is my understanding of the devguide.

> As someone who is currently learning Python, however, consistency in presentation is important to me and reduces cognitive load.

This is a valid concern, but it may not be the case that all people
will face this issue. More importantly it should be right so the
second time you come back to refresh on a point you can also grasp it
quickly ... no?

>
> By REPL, do you mean Read-Eval-Print Loop? I'm not familiar with the acronym and that's what Google is telling me it means. But a Read-Eval-Print Loop would have output,
> and my understanding is that you are arguing against use of ... when there is no output.
>

Yes - that is the shell of CPython that does the Read-Eval-Print Loop.

My reading of the Docs Dev-quide - and I am not an expert -
discourages the sys.ps1 and sys.ps2 (although the current docs site
can hide them to allow for copy-pasta)
History
Date User Action Args
2020-05-25 16:40:09amaajemyfrensetrecipients: + amaajemyfren, docs@python, Chas Belov
2020-05-25 16:40:09amaajemyfrenlinkissue40748 messages
2020-05-25 16:40:09amaajemyfrencreate