Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01cfe36

Browse files
committed
Added no-site-python and old-exceptions preferences.
Implemented balloon help for options dialog.
1 parent 36b983c commit 01cfe36

3 files changed

Lines changed: 472 additions & 432 deletions

File tree

Mac/Resources/balloons.bh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
DIALOG 131 Options
2+
1.1 Start the interpreter.
3+
2.1 Return to the finder.
4+
3.1 Turn this item on to get the standard >>> prompt after a script terminates.
5+
3.3 Turn this item off to have the interpreter terminate when a script terminates.
6+
4.1 Turn this option on to get feedback on where modules are found and what their type is.
7+
4.3 Turn this option off to stop import feedback.
8+
5.1 Turn this option on to strip LINO instructions from Python bytecode. Gives a slight speedup.
9+
5.3 Turn this option off to include LINO instructions in the bytecode. This enables line numbers in traceback printouts.
10+
6.1 Turn this on to show output byte-by-byte as it is produced. Slows things down.
11+
6.3 Turn this off to show output on a line-by-line basis, or when input is requested.
12+
7.1 Print gibberish only Guido understands.
13+
7.3 Stop printing gibberish.
14+
8.1 Turn this on to keep the console window open after successful script termination.
15+
8.3 Turn this off to quit python automatically after successful script termination.
16+
9.1 Turn this on to keep the console window open after a script aborts.
17+
9.3 Turn this off to quit python automatically after a script aborts.
18+
10.1 This shows another dialog where you can type unix-style command line arguments. WARNING: do not redirect stdin and stdout, it does not work.
19+
13.1 Select to use string-type values for standard exceptions.
20+
13.3 Deselect to use new class-based standard exceptions.
21+
14.1 Selecting this disables the new package and site-python features.
22+
14.3 Deselecting this enables the new package and site-python features.
23+
16.1 Turn off balloon help.
24+
END-DIALOG
25+
DIALOG 134
26+
1.1 Deleting the incorrect preference will not always work, but Python will run with standard options.
27+
2.1 Python will continue to run, but with standard options.
28+
3.1 Don't run, return to the finder.
29+
END-DIALOG
30+
END

0 commit comments

Comments
 (0)