New submission from Amandeep Singh <newtodiswo...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to