Message266652
Further testing reveals that this issue has nothing to do with metaclasses:
>>>class X(type):pass
>>>X()(X)
raises the same TypeError.
Even if the possibly dubious feature of being able to call instances of subclasses of type with one argument is rejected, the error message should definitely be improved. It is ridiculously unhelpful. |
|
Date |
User |
Action |
Args |
2016-05-30 00:25:40 | ppperry | set | recipients:
+ ppperry, abarry |
2016-05-30 00:25:39 | ppperry | set | messageid: <1464567939.97.0.550274872446.issue27157@psf.upfronthosting.co.za> |
2016-05-30 00:25:39 | ppperry | link | issue27157 messages |
2016-05-30 00:25:39 | ppperry | create | |
|