summaryrefslogtreecommitdiffstats
path: root/Mac/Resources/pythonpath.r
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-01 22:36:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-01 22:36:29 (GMT)
commita5ffeb69ab814618d9b4d77eba3aa2e03b1b9625 (patch)
tree32e0aefa3cd84aa01e6f27b8f67bb6558a2c778c /Mac/Resources/pythonpath.r
parent822218b400d0f77636592e6786f9bb4f8fad6a43 (diff)
downloadcpython-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/Resources/pythonpath.r')
-rw-r--r--Mac/Resources/pythonpath.r6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Resources/pythonpath.r b/Mac/Resources/pythonpath.r
index b116f59..d599023 100644
--- a/Mac/Resources/pythonpath.r
+++ b/Mac/Resources/pythonpath.r
@@ -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 */