This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients cool-RR, eric.snow, stutzbach
Date 2011-05-20.18:48:26
SpamBayes Score 1.3106476e-09
Marked as misclassified No
Message-id <1305917307.54.0.431024989834.issue12128@psf.upfronthosting.co.za>
In-reply-to
Content
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").
History
Date User Action Args
2011-05-20 18:48:27stutzbachsetrecipients: + stutzbach, cool-RR, eric.snow
2011-05-20 18:48:27stutzbachsetmessageid: <1305917307.54.0.431024989834.issue12128@psf.upfronthosting.co.za>
2011-05-20 18:48:27stutzbachlinkissue12128 messages
2011-05-20 18:48:26stutzbachcreate