[issue12525] Unable to run a thread
Amandeep Singh
report at bugs.python.org
Sun Jul 10 14:49:42 CEST 2011
New submission from Amandeep Singh <newtodisworld at gmail.com>:
I created a thread, and started it and then called its run method. It raised an AttributeError exception
from threading import Thread
def func():
print 'abc'
t = Thread(None, func)
t.start()
t.run()
here t.run() raises an exception.
----------
components: Build
messages: 140077
nosy: newtodisworld
priority: normal
severity: normal
status: open
title: Unable to run a thread
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12525>
_______________________________________
More information about the Python-bugs-list
mailing list