summaryrefslogtreecommitdiffstats
path: root/Tools/idle/idle.pyw
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-02 21:28:54 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-02 21:28:54 (GMT)
commit504b0bf066e4fddb21646331e89c2f6836c5c638 (patch)
treef5454648430eb4818810305325561aabb02cf035 /Tools/idle/idle.pyw
parentf07c328c072e62ada8671ec30392572add22d904 (diff)
downloadcpython-504b0bf066e4fddb21646331e89c2f6836c5c638.zip
cpython-504b0bf066e4fddb21646331e89c2f6836c5c638.tar.gz
cpython-504b0bf066e4fddb21646331e89c2f6836c5c638.tar.bz2
Checking in IDLE 0.2.
Much has changed -- too much, in fact, to write down. The big news is that there's a standard way to write IDLE extensions; see extend.txt. Some sample extensions have been provided, and some existing code has been converted to extensions. Probably the biggest new user feature is a new search dialog with more options, search and replace, and even search in files (grep). This is exactly as downloaded from my laptop after returning from the holidays -- it hasn't even been tested on Unix yet.
Diffstat (limited to 'Tools/idle/idle.pyw')
-rw-r--r--Tools/idle/idle.pyw12
1 files changed, 9 insertions, 3 deletions
diff --git a/Tools/idle/idle.pyw b/Tools/idle/idle.pyw
index 3c06e05..a1fc021 100644
--- a/Tools/idle/idle.pyw
+++ b/Tools/idle/idle.pyw
@@ -1,3 +1,9 @@
-#! /usr/bin/env python
-import PyShell
-PyShell.main()
+try:
+ import PyShell
+ PyShell.main()
+except SystemExit:
+ raise
+except:
+ import traceback
+ traceback.print_exc()
+ raw_input("Hit return to exit...")