diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-01 22:36:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-01 22:36:29 (GMT) |
commit | a5ffeb69ab814618d9b4d77eba3aa2e03b1b9625 (patch) | |
tree | 32e0aefa3cd84aa01e6f27b8f67bb6558a2c778c /Mac/scripts | |
parent | 822218b400d0f77636592e6786f9bb4f8fad6a43 (diff) | |
download | cpython-a5ffeb69ab814618d9b4d77eba3aa2e03b1b9625.zip cpython-a5ffeb69ab814618d9b4d77eba3aa2e03b1b9625.tar.gz cpython-a5ffeb69ab814618d9b4d77eba3aa2e03b1b9625.tar.bz2 |
Added preferences/startup options for division warning
and accepting unix-style newlines on input.
Diffstat (limited to 'Mac/scripts')
-rw-r--r-- | Mac/scripts/EditPythonPrefs.py | 16 | ||||
-rw-r--r-- | Mac/scripts/EditPythonPrefs.rsrc | bin | 10118 -> 9692 bytes |
2 files changed, 9 insertions, 7 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py index 833e607..d9a0c5d 100644 --- a/Mac/scripts/EditPythonPrefs.py +++ b/Mac/scripts/EditPythonPrefs.py @@ -54,6 +54,8 @@ opt_dialog_map = [ "nointopt", "noargs", "delayconsole", + "divisionwarn", + "unixnewlines", ] opt_dialog_dict = {} for i in range(len(opt_dialog_map)): @@ -61,15 +63,15 @@ for i in range(len(opt_dialog_map)): opt_dialog_dict[opt_dialog_map[i]] = i # 1 thru 10 are the options # The GUSI creator/type and delay-console -OD_CREATOR_ITEM = 18 -OD_TYPE_ITEM = 19 +OD_CREATOR_ITEM = 20 +OD_TYPE_ITEM = 21 OD_OK_ITEM = 1 OD_CANCEL_ITEM = 2 -OD_HELP_ITEM = 20 -OD_KEEPALWAYS_ITEM = 14 -OD_KEEPOUTPUT_ITEM = 15 -OD_KEEPERROR_ITEM = 16 -OD_KEEPNEVER_ITEM = 17 +OD_HELP_ITEM = 22 +OD_KEEPALWAYS_ITEM = 16 +OD_KEEPOUTPUT_ITEM = 17 +OD_KEEPERROR_ITEM = 18 +OD_KEEPNEVER_ITEM = 19 def optinteract(options): """Let the user interact with the options dialog""" diff --git a/Mac/scripts/EditPythonPrefs.rsrc b/Mac/scripts/EditPythonPrefs.rsrc Binary files differindex fafc908..321ec4f 100644 --- a/Mac/scripts/EditPythonPrefs.rsrc +++ b/Mac/scripts/EditPythonPrefs.rsrc |