[Python-checkins] CVS: python/dist/src/Mac/scripts EditPythonPrefs.py,1.26,1.27
Jack Jansen
jackjansen@users.sourceforge.net
Sat, 01 Sep 2001 15:36:05 -0700
Update of /cvsroot/python/python/dist/src/Mac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv16959/Python/Mac/scripts
Modified Files:
EditPythonPrefs.py
Log Message:
Added preferences/startup options for division warning
and accepting unix-style newlines on input.
Index: EditPythonPrefs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/EditPythonPrefs.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** EditPythonPrefs.py 2001/08/27 21:41:23 1.26
--- EditPythonPrefs.py 2001/09/01 22:36:03 1.27
***************
*** 55,58 ****
--- 55,60 ----
"noargs",
"delayconsole",
+ "divisionwarn",
+ "unixnewlines",
]
opt_dialog_dict = {}
***************
*** 62,74 ****
# 1 thru 10 are the options
# The GUSI creator/type and delay-console
! OD_CREATOR_ITEM = 18
! OD_TYPE_ITEM = 19
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
def optinteract(options):
--- 64,76 ----
# 1 thru 10 are the options
# The GUSI creator/type and delay-console
! OD_CREATOR_ITEM = 20
! OD_TYPE_ITEM = 21
OD_OK_ITEM = 1
OD_CANCEL_ITEM = 2
! OD_HELP_ITEM = 22
! OD_KEEPALWAYS_ITEM = 16
! OD_KEEPOUTPUT_ITEM = 17
! OD_KEEPERROR_ITEM = 18
! OD_KEEPNEVER_ITEM = 19
def optinteract(options):