Revision b15bdf7f7a736f49f783ab75904e6b2438449743 authored by Amaury Forgeot d'Arc on 01 July 2008, 20:59:49 UTC, committed by Amaury Forgeot d'Arc on 01 July 2008, 20:59:49 UTC
When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Backport of r64601.
1 parent ceda6a6
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
PCbuild8 | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.hgtags | -rw-r--r-- | 3.8 KB |
LICENSE | -rw-r--r-- | 13.4 KB |
Makefile.pre.in | -rw-r--r-- | 34.6 KB |
README | -rw-r--r-- | 53.8 KB |
configure | -rwxr-xr-x | 612.4 KB |
configure.in | -rw-r--r-- | 96.3 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 26.7 KB |
setup.py | -rw-r--r-- | 67.4 KB |
Computing file changes ...