[Python-3000] Specializing the dicts in __dict__
Steven Bethard
steven.bethard at gmail.com
Tue Apr 18 18:54:33 CEST 2006
On 4/18/06, Guido van Rossum <guido at python.org> wrote:
> PS: if this change to the class statement were to happen, the crowd
> discussing the 'make' PEP (which I don't like but don't have the power
> to stop being discussed) should take notice.
If you pronounce it dead, I can make sure the discussion stops. :-)
> Or perhaps they could run with the idea and make it the focal
> point of their proposal.
There has been discussion of something like this:
http://mail.python.org/pipermail/python-dev/2006-April/063706.html
http://mail.python.org/pipermail/python-list/2006-April/336586.html
But I think the consensus was that there weren't a lot of good
use-cases and adding such support would just make the statement more
complex. However, if type objects started to support something like
this, I guess the make statement should reconsider it.
Could someone put out some use-cases where it would be really helpful
to be able to specify a different dict type for the class dict?
Steve
--
Grammar am for people who can't think for myself.
--- Bucky Katt, Get Fuzzy
More information about the Python-3000
mailing list