Message5655
This is a tough one, the problem is that the toString attribute on the instance of the String type here is really an unbound method for the String.toString method.
That's why it expects an argument, it expects to be called as a bound method on a String instance. Just like calling str.upper() expects a str instance argument
What would have to happen is the method would somehow have to work both ways for methods implemented on the Class type. Maybe this is doable, I'm not sure, but reflected methods have a lot of tricky logic already |
|
Date |
User |
Action |
Args |
2010-04-11 00:36:51 | pjenvey | set | messageid: <1270946211.69.0.0633443158972.issue1564@psf.upfronthosting.co.za> |
2010-04-11 00:36:51 | pjenvey | set | recipients:
+ pjenvey, pekka.klarck, yanne |
2010-04-11 00:36:51 | pjenvey | link | issue1564 messages |
2010-04-11 00:36:50 | pjenvey | create | |
|