survey: is shelve broken? should it be fixed?

holger krekel pyth at devel.trillke.net
Tue May 7 18:38:29 EDT 2002


Bjorn Pettersen wrote:
> > From: holger krekel [mailto:pyth at devel.trillke.net] 
> [snip]
> > 
> > Might i ask whether you read my suggestion to
> > implement the "smart"-switch at the global module level?
> 
> I'm -1 on this (in case I want to open both regular and read-only
> files).

You actually want to use the copying version and the in-place 
version of shelve mixed in one file? 

I thought that everyone agreed that this is a bugfix ('least astonishment') 
but we have to be careful to avoid backwards-compatibility problems
and that's why we want to switch behaviour? 

    holger





More information about the Python-list mailing list