Message136393
I misread the original request. I'm +1 on making the following work, if it doesn't work already:
class MySubClass(MyAbstractClass):
SOME_LIMIT = 5 # Implements abstract property with fixed value
We should be able to check that at instance creation time.
I think abstract methods and properties are to force the class to define methods/properties. I don't think we should be checking if the instance adds things that are not defined at the class level (i.e., don't try to detect "self.SOME_LIMT = 5"). |
|
Date |
User |
Action |
Args |
2011-05-20 18:48:27 | stutzbach | set | recipients:
+ stutzbach, cool-RR, eric.snow |
2011-05-20 18:48:27 | stutzbach | set | messageid: <1305917307.54.0.431024989834.issue12128@psf.upfronthosting.co.za> |
2011-05-20 18:48:27 | stutzbach | link | issue12128 messages |
2011-05-20 18:48:26 | stutzbach | create | |
|