[Python-3000] renaming suggestion
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Aug 2 02:31:40 CEST 2007
Fred Drake wrote:
> Would you consider weakkeydict and weakvaluedict better than
> WeakKeyDict and WeakValueDict?
I like WeakKeyDict and WeakValDict because the existing names
seem excessively long-winded, given that 'dict' or 'Dict' is
a well-established abbreviation.
But I actually think that at least some of the weakref stuff
should be builtin, seeing as support for it is wired directly
into the core implementation. In that case, all-lowercase
names would be more appropriate.
--
Greg
More information about the Python-3000
mailing list