changeset: 102906:862761e4376e
branch: 2.7
parent: 102889:ef13efb89afe
user: 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 @@
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 @@
@@ -686,13 +685,13 @@
>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 -r ef13efb89afe -r 862761e4376e Lib/idlelib/help.py
--- a/Lib/idlelib/help.py Wed Aug 24 11:14:34 2016 -0500
+++ b/Lib/idlelib/help.py Thu Aug 25 01:21:54 2016 -0400
@@ -150,7 +150,8 @@
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):