Bugs item #1248199, was opened at 2005-07-31 04:53 Message generated for change (Comment added) made by birkenfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1248199&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: Python 2.4 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: paul rubin (phr) >Assigned to: Reinhold Birkenfeld (birkenfeld) Summary: shelve .sync operation not documented Initial Comment: The shelve documentation doesn't describe how to flush updates out to the disc file. Without that, a long-running server could go for months without writing out any updates. A server crash would then lose every update. I asked on clpy whether shelve really had such a severe deficiency. Thanks to Robert Kern for mentioning the .sync() method, which does what is needed. The doc should definitely mention this. Shelve is much less useful without it. ---------------------------------------------------------------------- >Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-08-26 00:40 Message: Logged In: YES user_id=1188172 Thanks for the report, fixed in Doc/lib/libshelve.py r1.23, 1.20.16.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1248199&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com