Author ronaldoussoren
Recipients BreamoreBoy, ajaksu2, arigo, mwh, rhettinger, ronaldoussoren, terry.reedy
Date 2013-03-19.15:41:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363707661.24.0.26997307197.issue1173475@psf.upfronthosting.co.za>
In-reply-to
Content
I do have a usecase for this: subclasses of int. 

Having slots would be nice for a reasonably efficient implementation of named constants (as recently discussed on python-ideas), and I'm already using a subclass of int of PyObjC to attach a single other value to a Python integer. In both cases the overhead of the __dict__ is pretty large.
History
Date User Action Args
2013-03-19 15:41:01ronaldoussorensetrecipients: + ronaldoussoren, mwh, arigo, rhettinger, terry.reedy, ajaksu2, BreamoreBoy
2013-03-19 15:41:01ronaldoussorensetmessageid: <1363707661.24.0.26997307197.issue1173475@psf.upfronthosting.co.za>
2013-03-19 15:41:01ronaldoussorenlinkissue1173475 messages
2013-03-19 15:41:00ronaldoussorencreate