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
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
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.3 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 68.4 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 500.1 KB
configure.ac -rw-r--r-- 168.9 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.5 KB
setup.py -rw-r--r-- 108.5 KB

README.rst

back to top