[issue1592] operations on closed shelves fail cryptically

Raymond Hettinger report at bugs.python.org
Fri Jul 25 20:01:35 CEST 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

I'm working on this one.  Alternate patch attached.

The problem with the old one is that it slows down every access to the 
shelf and it prevents assignment to self.dict which has always been 
allowed.

The new patch improves error reporting without changing performance or 
semantics for shelves prior to closing.

----------
keywords: +patch
Added file: http://bugs.python.org/file10981/shelve.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1592>
_______________________________________


More information about the Python-bugs-list mailing list