Message4560
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
>>> |
|
Date |
User |
Action |
Args |
2009-04-21 10:51:25 | amak | set | recipients:
+ amak |
2009-04-21 10:51:25 | amak | set | messageid: <1240311085.31.0.56211131864.issue1322@psf.upfronthosting.co.za> |
2009-04-21 10:51:25 | amak | link | issue1322 messages |
2009-04-21 10:51:24 | amak | create | |
|