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 Al.Sweigart, Ramchandra Apte, Sarah, Sean.Wolfe, Todd.Rovito, ajaksu2, bmiller, cben, gpolo, kbk, philwebster, roger.serwy, terry.reedy
Date 2015-05-14.02:06:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431569172.49.0.360714979878.issue2704@psf.upfronthosting.co.za>
In-reply-to
Content
The PyShell patch does two things that I want to consider separately, and carefully, along with other possible solutions to the perceived problems.

1. Go to end-of-file when entering a letter or number in a read-only text area. In msg110889 Tal says "Note that not only letter/number keys should be passed on." I see the point, but expanding the set seems to me a complication and a move in the wrong direction.  Doing nothing, or maybe beeping, is a normal response to entry in a read-only area. Regardless of what I wrote before, I am not completely comfortable with adding magical behavior.

The fixed key-binding for goto-file-end is cntl-end (command-end). I propose adding <tab> as a synonym. Currently, it sometimes opens a completion box even in read-only areas, where it is useless and annoying. This should be changed anyway, and having it cause the cursor to jump to me seems to fit with its indent behavior.

2. Make <up> and <down> do double duty to both traverse statements in the history and lines within the current statement.  However, the complicated rules to juggle two roles, in msg68299, make my head hurt. I would rather use Shift-, cntl-, or alt- up/down instead.

The fundamental issue, touched on by Cherniavsky Beni in msg67706, is that Python is not a command-line language. It is a statement language. It does not fit well in a command-line terminal where history consists of lines rather than statements. PyShell is a statement terminal designed to fit Python, not a line terminal.

I appreciate this *much* better than 7 years ago.  When I wrote msg66119, I probably was not aware of being able to retrieve statements with Alt-P.
History
Date User Action Args
2015-05-14 02:06:12terry.reedysetrecipients: + terry.reedy, kbk, cben, ajaksu2, gpolo, bmiller, roger.serwy, Todd.Rovito, Ramchandra Apte, Al.Sweigart, Sean.Wolfe, Sarah, philwebster
2015-05-14 02:06:12terry.reedysetmessageid: <1431569172.49.0.360714979878.issue2704@psf.upfronthosting.co.za>
2015-05-14 02:06:12terry.reedylinkissue2704 messages
2015-05-14 02:06:11terry.reedycreate