[New-bugs-announce] [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)

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>

More information about the New-bugs-announce mailing list