Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f609a345
Commit
f609a345
authored
Dec 28, 2007
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
help() was not paging to the shell. Issue1650.
parent
c3d7fe0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+3
-1
Lib/idlelib/PyShell.py
Lib/idlelib/PyShell.py
+8
-0
Lib/idlelib/run.py
Lib/idlelib/run.py
+3
-0
No files found.
Lib/idlelib/NEWS.txt
View file @
f609a345
What's New in IDLE 3.0a3?
=========================
*Release date: XX-XXX-200X*
*Release date: XX-XXX-2008*
- help() was not paging to the shell. Issue1650.
- CodeContext was not importing.
...
...
Lib/idlelib/PyShell.py
View file @
f609a345
...
...
@@ -828,6 +828,14 @@ class PyShell(OutputWindow):
sys
.
stdout
=
self
.
stdout
sys
.
stderr
=
self
.
stderr
sys
.
stdin
=
self
try
:
# page help() text to shell.
import
pydoc
# import must be done here to capture i/o rebinding.
# XXX KBK 27Dec07 use a textView someday, but must work w/o subproc
pydoc
.
pager
=
pydoc
.
plainpager
except
:
sys
.
stderr
=
sys
.
__stderr__
raise
#
self
.
history
=
self
.
History
(
self
.
text
)
#
...
...
Lib/idlelib/run.py
View file @
f609a345
...
...
@@ -247,6 +247,9 @@ class MyHandler(rpc.RPCHandler):
sys
.
stdin
=
self
.
console
=
self
.
get_remote_proxy
(
"stdin"
)
sys
.
stdout
=
self
.
get_remote_proxy
(
"stdout"
)
sys
.
stderr
=
self
.
get_remote_proxy
(
"stderr"
)
# page help() text to shell.
import
pydoc
# import must be done here to capture i/o binding
pydoc
.
pager
=
pydoc
.
plainpager
from
idlelib
import
IOBinding
sys
.
stdin
.
encoding
=
sys
.
stdout
.
encoding
=
\
sys
.
stderr
.
encoding
=
IOBinding
.
encoding
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment