Added preferences/startup options for division warning

and accepting unix-style newlines on input.
This commit is contained in:
Jack Jansen 2001-09-01 22:36:29 +00:00
parent 822218b400
commit a5ffeb69ab
6 changed files with 28 additions and 13 deletions

Binary file not shown.

View file

@ -26,6 +26,8 @@ type 'Popt' {
byte sitePython = 0, noSitePython = 1;
byte navService = 0, noNavService = 1;
byte noDelayConsole = 0, delayConsole = 1;
byte noDivisionWarning = 0, divisionWarning = 1;
byte noUnixNewlines = 0, unixNewlines = 1;
};
type 'TMPL' {
@ -55,6 +57,8 @@ resource 'TMPL' (PYTHONOPTIONS_ID, "Popt") {
"No site-python support", 'DBYT',
"No NavServices in macfs", 'DBYT',
"Delay console window", 'DBYT',
"Warnings for old-style division", 'DBYT',
"Allow unix newlines on textfile input",'DBYT',
}
};
@ -75,6 +79,8 @@ resource 'Popt' (PYTHONOPTIONS_ID, "Options") {
sitePython,
navService,
noDelayConsole,
noDivisionWarning,
unixNewlines,
};
/* The sys.path initializer */