mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
This commit is contained in:
parent
6a9aec47b7
commit
8a38714ba0
7 changed files with 274 additions and 27 deletions
|
|
@ -25,6 +25,7 @@ type 'Popt' {
|
|||
byte newStandardExceptions = 0, oldStandardExceptions = 1;
|
||||
byte sitePython = 0, noSitePython = 1;
|
||||
byte navService = 0, noNavService = 1;
|
||||
byte noDelayConsole = 0, delayConsole = 1;
|
||||
};
|
||||
|
||||
type 'TMPL' {
|
||||
|
|
@ -53,6 +54,7 @@ resource 'TMPL' (PYTHONOPTIONS_ID, "Popt") {
|
|||
"Old standard exceptions", 'DBYT',
|
||||
"No site-python support", 'DBYT',
|
||||
"No NavServices in macfs", 'DBYT',
|
||||
"Delay console window", 'DBYT',
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -72,6 +74,7 @@ resource 'Popt' (PYTHONOPTIONS_ID, "Options") {
|
|||
newStandardExceptions,
|
||||
sitePython,
|
||||
navService,
|
||||
noDelayConsole,
|
||||
};
|
||||
|
||||
/* The sys.path initializer */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue