survey: is shelve broken? should it be fixed?

Martin v. Löwis loewis at informatik.hu-berlin.de
Tue May 7 12:40:21 EDT 2002


"Emile van Sebille" <emile at fenx.com> writes:

> You also used 'modifiable' (shorten to modify). 'Persistent' (persist),
> 'updateable' (update), 'dynamic' (vs boolean flipped 'static') or
> perhaps untrap?
> 
> Should we call the next improvement switch argument 'smarter'?  ;-)

No, the boolean value will get interpreted as a numeric argument:

shelve.open(name,mode,smart=5)

will be available in Python 2.6 (assuming the release gain two levels
of smartness per release :-)

Regards,
Martin



More information about the Python-list mailing list