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 |
---|---|---|
ACKS | -rw-r--r-- | 22.6 KB |
HISTORY | -rw-r--r-- | 1.1 MB |
NEWS | -rw-r--r-- | 261.8 KB |
Porting | -rw-r--r-- | 1.9 KB |
README | -rw-r--r-- | 1.4 KB |
README.AIX | -rw-r--r-- | 5.0 KB |
README.coverity | -rw-r--r-- | 845 bytes |
README.valgrind | -rw-r--r-- | 4.3 KB |
SpecialBuilds.txt | -rw-r--r-- | 10.9 KB |
coverity_model.c | -rw-r--r-- | 4.1 KB |
gdbinit | -rw-r--r-- | 4.7 KB |
indent.pro | -rw-r--r-- | 557 bytes |
python-config.in | -rw-r--r-- | 2.0 KB |
python-config.sh.in | -rw-r--r-- | 2.9 KB |
python-wing3.wpr | -rw-r--r-- | 555 bytes |
python-wing4.wpr | -rw-r--r-- | 835 bytes |
python-wing5.wpr | -rw-r--r-- | 835 bytes |
python.man | -rw-r--r-- | 13.1 KB |
python.pc.in | -rw-r--r-- | 293 bytes |
svnmap.txt | -rw-r--r-- | 4.1 MB |
valgrind-python.supp | -rw-r--r-- | 8.2 KB |
vgrindefs | -rw-r--r-- | 500 bytes |
Computing file changes ...