[issue13976] threading.local doesn't support super()

2012-02-09 Thread Dima Tisnek
Dima Tisnek added the comment: ah feeling stupid only minutes later. A has to inherit from object() and then it works fine. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue13976] threading.local doesn't support super()

2012-02-09 Thread Dima Tisnek
New submission from Dima Tisnek : import threading import pprint class A: def __init__(self, **kw): pprint.pprint("a") super(A, self).__init__() class B(threading.local, A): def __init__(self, **kw): pprint.pprint("b") super(B, self).__init__() if __na