Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision d5cacbb1d9c3edc02bf0ba01702e7c06da5bc318 authored by Nick Coghlan on 23 May 2015, 12:24:10 UTC, committed by Nick Coghlan on 23 May 2015, 12:24:10 UTC
Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles.
1 parent ec219ba
Tip revision: d5cacbb1d9c3edc02bf0ba01702e7c06da5bc318 authored by Nick Coghlan on 23 May 2015, 12:24:10 UTC
PEP 489: Multi-phase extension module initialization
PEP 489: Multi-phase extension module initialization
Tip revision: d5cacbb
File | Mode | Size |
---|---|---|
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.bzrignore | -rw-r--r-- | 584 bytes |
.gitignore | -rw-r--r-- | 1.3 KB |
.hgeol | -rw-r--r-- | 996 bytes |
.hgignore | -rw-r--r-- | 1.2 KB |
.hgtags | -rw-r--r-- | 7.1 KB |
.hgtouch | -rw-r--r-- | 1.3 KB |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 55.3 KB |
README | -rw-r--r-- | 6.6 KB |
aclocal.m4 | -rw-r--r-- | 8.3 KB |
config.guess | -rwxr-xr-x | 41.9 KB |
config.sub | -rwxr-xr-x | 34.9 KB |
configure | -rwxr-xr-x | 454.0 KB |
configure.ac | -rw-r--r-- | 147.1 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 40.8 KB |
setup.py | -rw-r--r-- | 95.8 KB |
Computing file changes ...