In Python 3, thread was renamed to _thread . This is the infrastructure code that is used to implement threading , and normal Python code should not come close to it.
_thread provides a pretty rough idea of ββthe underlying OS-level processes. This is almost never what you want, so rename it to Py3k to indicate that it is really just an implementation detail.
threading adds some additional automatic accounting, as well as several handy utilities, all of which make it the preferred option for standard Python code.
ncoghlan Apr 7 '11 at 8:30 2011-04-07 08:30
source share