Issue222844

classification
Title: PyStringMap.items() does not properly handle deleted keys
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:29:21 by bckfnn, last changed 2000-11-18.22:58:39 by bckfnn.

Messages
msg134 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:29:21
The items() method in does not handle items which is so called deleted 
with __setitem__(key, null). The items() will return a tuple (key, null)
which cause strange NameError when used in 

   for k,v in foo.__dict__.item():
      ..

The problem was initially descibed by Gary Pennington.


msg135 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:58:39
Fixed as suggested.
History
Date User Action Args
2000-11-18 19:29:21bckfnncreate