From: Terry Jan Reedy
idle.py [-c command] [-d] [-e] [-h] [-i] [-r file] [-s] [-t title] [-] [arg] ...
+idle.py [-c command] [-d] [-e] [-h] [-i] [-r file] [-s] [-t title] [-] [arg] ...
-c command run command in the shell window
-d enable debugger and open shell window
@@ -527,7 +527,9 @@ and screen will not work. If s
IDLE’s changes are lost and things like input
, raw_input
, and
print
will not work correctly.
With IDLE’s Shell, one enters, edits, and recalls complete statements.
-Some consoles only work with a single physical line at a time.
+Some consoles only work with a single physical line at a time. IDLE uses
+exec
to run each statement. As a result, '__builtins__'
is always
+defined for each statement.
24.6.3.3. Running without a subprocess¶
@@ -655,14 +657,11 @@ are currently:
@@ -686,13 +685,13 @@ are currently:
>previous |

- Python »
+ Python »
- Python 2.7.11 documentation »
+ Python 2.7.12 documentation »
- The Python Standard Library »
- 24. Graphical User Interfaces with Tk »
+ The Python Standard Library »
+ 24. Graphical User Interfaces with Tk »
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index ba098ca308..8599b13d9c 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -150,7 +150,8 @@ class HelpParser(HTMLParser):
self.text.insert('end', d, (self.tags, self.chartags))
def handle_charref(self, name):
- self.text.insert('end', unichr(int(name)))
+ if self.show:
+ self.text.insert('end', unichr(int(name)))
class HelpText(Text):