Message184641
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. |
|
Date |
User |
Action |
Args |
2013-03-19 15:41:01 | ronaldoussoren | set | recipients:
+ ronaldoussoren, mwh, arigo, rhettinger, terry.reedy, ajaksu2, BreamoreBoy |
2013-03-19 15:41:01 | ronaldoussoren | set | messageid: <1363707661.24.0.26997307197.issue1173475@psf.upfronthosting.co.za> |
2013-03-19 15:41:01 | ronaldoussoren | link | issue1173475 messages |
2013-03-19 15:41:00 | ronaldoussoren | create | |
|