You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Impossible to go back to prompt after entering "help()" #113
When you enter help() in the interactive shell you get a screen that looks like this:
...
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
help>
From this screen it's impossible to go back to the interactive prompt that allows you to enter commands. You can move the cursor prompt using the mouse, but not using the keyboard's arrows keys. It seems like the key strokes are being captured by the interactive help> screen.
It should be possible to exit from this screen, just like it is when using the "real" Python interpreter.
I would just delete `__builtin__.help`, or change it to a function that
makes the PythonTurtle help show up. It's pretty minor anyway, feel free to
deal with it if you'd like.
On Tue, Sep 25, 2018, 21:30 Peter Bittner ***@***.***> wrote:
When you enter help() in the interactive shell you get a screen that
looks like this:
...
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
help>
From this screen it's impossible to go back to the interactive prompt that
allows you to enter commands. You can move the cursor prompt using the
mouse, but not using the keyboard's arrows keys. It seems like the key
strokes are being captured by the interactive help> screen.
It should be possible to exit from this screen, just like it is when using
the "real" Python interpreter.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#113>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADdysKvVxUA9tiyvHgY_4dTH-kXLtW3ks5uenZAgaJpZM4W5Oww>
.
Activity
cool-RR commentedon Sep 25, 2018
bittner commentedon Sep 25, 2018
Similar with
exit(), by the way. Alright, let's deal with it at due time.bittner commentedon Sep 26, 2018
Also,
license()turns out to have the same behavior ashelp(). That needs to be mitigated, too.Block help, license and exit from shell. Fix PythonTurtle#113