Un, don't forget the other shelve problem....

Tim Churches tchur at optushome.com.au
Sat Dec 28 11:44:12 EST 2002


On Fri, 2002-12-27 at 00:12, F. GEIGER wrote:
> 
> "Thomas Weholt" <2002 at weholt.org> schrieb im Newsbeitrag
> news:HcrN9.3594$CG6.62010 at news4.e.nsc.no...
> > If you find any solution to this, inform the group, as this would make it
> > possible for me to finally finish several projects depending on the module
> > using shelve.
> 
> Using bsddb3 (version 3.3 on ActivePython 2.1.3) did it.
> 
> Many thanks to all who contributed!

Don't get stung by some other unexpected behaviour of shelve - see
http://mail.python.org/pipermail/python-list/2002-May/102625.html

Both problems really should be fixed by the Python maintainers, the
first by upgrading to a more recent release of BsdDb in the standard
distribution, the second by incorporating Alex Martelli's patch or
similar. Shelve is discussed in all the introductory Python books, and
its broken nature on popular platforms and its completely
counter-intuitive behaviour may be enough to make many beginners
incorrectly conclude that the rest of Python must be just as flaky.

Tim C






More information about the Python-list mailing list