[New-bugs-announce] [issue1592] operations on closed shelves fail cryptically
Erno Kuusela
report at bugs.python.org
Tue Dec 11 19:38:16 CET 2007
New submission from Erno Kuusela:
shelve objects set self.dict = 0 in their close() method. this
results in errors such as TypeError: unsubscriptable object and
AttributeError: 'int' object has no attribute 'has_key'.
This is fairly baffling for the user.
"self.dict = 0" in close() is present in current svn trunk too.
----------
components: Library (Lib)
messages: 58453
nosy: erno
severity: normal
status: open
title: operations on closed shelves fail cryptically
type: behavior
versions: Python 2.4
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1592>
__________________________________
More information about the New-bugs-announce
mailing list