[Python-3000] Immutable bytes type and dbm modules
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Aug 10 02:18:25 CEST 2007
Ron Adam wrote:
> Would some sort of an indirect reference type help. Possibly an
> object_id_based_reference as keys instead of using or hashing the object
> itself? This wouldn't change if the object mutates between accesses and
> could be immutable.
But if the object did mutate, the cached re would be out
of date, and this wouldn't be noticed.
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | Carpe post meridiem! |
Christchurch, New Zealand | (I'm not a morning person.) |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-3000
mailing list