• Amaury Forgeot d'Arc's avatar
    #Issue3088 in-progress: Race condition with instances of classes derived from threading.local: · 1f40c8a8
    Amaury Forgeot d'Arc yazdı
    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.
    
    Also a 2.5 backport candidate.
    1f40c8a8
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...