Staging
v0.5.1
https://github.com/python/cpython
Revision a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a authored by Hai Shi on 18 May 2020, 22:02:57 UTC, committed by GitHub on 18 May 2020, 22:02:57 UTC
Make the the following imports lazy in test.support:

* bz2
* gzip
* lzma
* resource
* zlib

The following test.support decorators now need to be called
with parenthesis:

* @support.requires_bz2
* @support.requires_gzip
* @support.requires_lzma
* @support.requires_zlib

For example, "@requires_zlib" becomes "@requires_zlib()".
1 parent ced4e5c
Raw File
Tip revision: a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a authored by Hai Shi on 18 May 2020, 22:02:57 UTC
bpo-40275: More lazy imports in test.support (GH-20131)
Tip revision: a3ec3ad
MyDocument.h
//
//  MyDocument.h
//  PythonLauncher
//
//  Created by Jack Jansen on Fri Jul 19 2002.
//  Copyright (c) 2002 __MyCompanyName__. All rights reserved.
//


#import <Cocoa/Cocoa.h>

#import "FileSettings.h"

@interface MyDocument : NSDocument <FileSettingsSource>
{
    IBOutlet NSTextField *interpreter;
    IBOutlet NSButton *honourhashbang;
    IBOutlet NSButton *debug;
    IBOutlet NSButton *verbose;
    IBOutlet NSButton *inspect;
    IBOutlet NSButton *optimize;
    IBOutlet NSButton *nosite;
    IBOutlet NSButton *tabs;
    IBOutlet NSTextField *others;
    IBOutlet NSButton *with_terminal;
    IBOutlet NSTextField *scriptargs;
    IBOutlet NSTextField *commandline;

    NSString *script;
    NSString *filetype;
    FileSettings *settings;
}

- (IBAction)do_run:(id)sender;
- (IBAction)do_cancel:(id)sender;
- (IBAction)do_reset:(id)sender;
- (IBAction)do_apply:(id)sender;

- (void)controlTextDidChange:(NSNotification *)aNotification;

@end
back to top