[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

Robin Schreiber report at bugs.python.org
Sat Oct 6 19:04:09 CEST 2012


Robin Schreiber added the comment:

Before I submitted this patch, I used to have these variables inside the modulestate, which caused severe problems. I do not know the exact reason, but my guess is that these variables have to be globally available for every thread (tcl variables are used for thread synchronization arent they?). As the modulestate may change depending on the thread, one can no longer guarantee that every thread within the process is operating on the same variable. This might not be nessecary, however as I mentioned, the naive approach of putting the variables inside the modulestate did not work out for me.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15721>
_______________________________________


More information about the Python-bugs-list mailing list