Message4560

Author amak
Recipients amak
Date 2009-04-21.10:51:23
SpamBayes Score 7.167877e-10
Marked as misclassified No
Message-id <1240311085.31.0.56211131864.issue1322@psf.upfronthosting.co.za>
In-reply-to
Content
When try to do some simple sub-classing, get a strange metaclass error.

Jython 2.5b3+ (trunk, Apr 21 2009, 11:45:20)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.5.0_17
Type "help", "copyright", "credits" or "license" for more information.
>>> import threading
>>> class MyTimer(threading.Timer): pass
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Error when calling the metaclass bases
    function() argument 1 must be code, not str
>>>
History
Date User Action Args
2009-04-21 10:51:25amaksetrecipients: + amak
2009-04-21 10:51:25amaksetmessageid: <1240311085.31.0.56211131864.issue1322@psf.upfronthosting.co.za>
2009-04-21 10:51:25amaklinkissue1322 messages
2009-04-21 10:51:24amakcreate