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 terry.reedy
Recipients Ramchandra Apte, alex.rodas, philwebster, roger.serwy, terry.reedy, zach.ware
Date 2014-01-31.23:40:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391211630.2.0.722868423827.issue13657@psf.upfronthosting.co.za>
In-reply-to
Content
If there is a discussion of sys.ps1 and sys.ps2 in the tutorial, then add a note that they are not supported in Idle. The only quick action on this issue would be to reject and close. I am still opposed to the proposal as presented, for reasons stated in my first message.

To expand a bit on what I said before: the prompts 'work', at least for the Windows console because
a) it is limited to fixed-pitch fonts, so that '>>>' and '...' have the same width;
b) its selection box is always a rectangle, so if one starts with the first character of a line and move down and right, the prompts are excluded.

I do not know what is true for *nix consoles, but neither is true for Idle. I would only tolerate the added nuisance of a secondary prompt if it were made to take up the same space (pixels) as the primary prompt so that indents could be 4 spaces instead of 8 space tabs.

If we were to get the prompts from the remote process, they should be sent as part of every normal response output instead of being a separate enquiry.

Part of my opposition to custom prompts is that the standard prompts, even though a nuisance, are instantly recognizable in messages. The can also be recognized and removed by code, as when pasting. See #1178, which I hope to act on soon. Neither is true of custom prompts.
History
Date User Action Args
2014-01-31 23:40:30terry.reedysetrecipients: + terry.reedy, roger.serwy, Ramchandra Apte, zach.ware, alex.rodas, philwebster
2014-01-31 23:40:30terry.reedysetmessageid: <1391211630.2.0.722868423827.issue13657@psf.upfronthosting.co.za>
2014-01-31 23:40:30terry.reedylinkissue13657 messages
2014-01-31 23:40:29terry.reedycreate