Staging
v0.8.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
History
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
File Mode Size
pegen
pgen
Python.asdl -rw-r--r-- 5.2 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.7 KB
asdl_c.py -rwxr-xr-x 47.5 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.7 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.0 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 57.0 KB
tokenizer.h -rw-r--r-- 3.8 KB

back to top