[Python-3000] Immutable bytes type and dbm modules
Jason Orendorff
jason.orendorff at gmail.com
Fri Aug 10 00:00:58 CEST 2007
On 8/9/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> > Too true. Offhand, why not provide hooks for serializing and
> > deserializing keys?
>
> Perhaps YAGNI? We already support pickling values (dbshelve),
> and I added support for encoding/decoding strings as either
> keys or values (though in a limited manner).
You don't need to go outside this thread to find a use case
not covered by either of those.
> In any case, somebody would have to make a specification
> for that, and then somebody would have to provide an
> implementation of it.
It was just a suggestion. I wish this could occasionally
go without saying.
-j
More information about the Python-3000
mailing list