Mercurial > cpython-lru_cache-weakref
comparison Mac/PythonLauncher/FileSettings.m @ 40051:20474d9e75e1 legacy-trunk
Fix for bug #1570284
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Sun, 08 Oct 2006 17:40:02 +0000 |
| parents | 232d156beb82 |
| children | 14e2750e2506 |
comparison
equal
deleted
inserted
replaced
| 40049:b9d3301e5f19 | 40051:20474d9e75e1 |
|---|---|
| 205 [NSNumber numberWithBool: debug], @"debug", | 205 [NSNumber numberWithBool: debug], @"debug", |
| 206 [NSNumber numberWithBool: verbose], @"verbose", | 206 [NSNumber numberWithBool: verbose], @"verbose", |
| 207 [NSNumber numberWithBool: inspect], @"inspect", | 207 [NSNumber numberWithBool: inspect], @"inspect", |
| 208 [NSNumber numberWithBool: optimize], @"optimize", | 208 [NSNumber numberWithBool: optimize], @"optimize", |
| 209 [NSNumber numberWithBool: nosite], @"nosite", | 209 [NSNumber numberWithBool: nosite], @"nosite", |
| 210 [NSNumber numberWithBool: nosite], @"nosite", | 210 [NSNumber numberWithBool: tabs], @"tabs", |
| 211 others, @"others", | 211 others, @"others", |
| 212 scriptargs, @"scriptargs", | 212 scriptargs, @"scriptargs", |
| 213 [NSNumber numberWithBool: with_terminal], @"with_terminal", | 213 [NSNumber numberWithBool: with_terminal], @"with_terminal", |
| 214 nil]; | 214 nil]; |
| 215 defaults = [NSUserDefaults standardUserDefaults]; | 215 defaults = [NSUserDefaults standardUserDefaults]; |
| 233 if (value) inspect = [value boolValue]; | 233 if (value) inspect = [value boolValue]; |
| 234 value = [dict objectForKey: @"optimize"]; | 234 value = [dict objectForKey: @"optimize"]; |
| 235 if (value) optimize = [value boolValue]; | 235 if (value) optimize = [value boolValue]; |
| 236 value = [dict objectForKey: @"nosite"]; | 236 value = [dict objectForKey: @"nosite"]; |
| 237 if (value) nosite = [value boolValue]; | 237 if (value) nosite = [value boolValue]; |
| 238 value = [dict objectForKey: @"nosite"]; | 238 value = [dict objectForKey: @"tabs"]; |
| 239 if (value) tabs = [value boolValue]; | 239 if (value) tabs = [value boolValue]; |
| 240 value = [dict objectForKey: @"others"]; | 240 value = [dict objectForKey: @"others"]; |
| 241 if (value) others = [value retain]; | 241 if (value) others = [value retain]; |
| 242 value = [dict objectForKey: @"scriptargs"]; | 242 value = [dict objectForKey: @"scriptargs"]; |
| 243 if (value) scriptargs = [value retain]; | 243 if (value) scriptargs = [value retain]; |
| 289 optimize?" -O":"", | 289 optimize?" -O":"", |
| 290 nosite?" -S":"", | 290 nosite?" -S":"", |
| 291 tabs?" -t":"", | 291 tabs?" -t":"", |
| 292 others, | 292 others, |
| 293 [self _replaceSingleQuotes:script], | 293 [self _replaceSingleQuotes:script], |
| 294 scriptargs, | 294 scriptargs ? scriptargs : @"", |
| 295 with_terminal? "&& echo Exit status: $? && exit 1" : " &"]; | 295 with_terminal? "&& echo Exit status: $? && exit 1" : " &"]; |
| 296 } | 296 } |
| 297 | 297 |
| 298 - (NSArray *) interpreters { return interpreters;}; | 298 - (NSArray *) interpreters { return interpreters;}; |
| 299 | 299 |
