[ python-Bugs-1648179 ] set update problem with class derived from dict

SourceForge.net noreply at sourceforge.net
Tue Jan 30 21:00:01 CET 2007


Bugs item #1648179, was opened at 2007-01-30 20:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1648179&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: None
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: duncan (urubu147)
Assigned to: Nobody/Anonymous (nobody)
Summary: set update problem with class derived from dict

Initial Comment:
Class derived from dict with __iter__ method returning itervalues() has keys (rather than values) added to set when using set update method.  Works as expected in 2.4.  Windows XP (Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32).  Unsure of platform for Peter Otten's minimal example in (hopefully) attached file.

Duncan Smith

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1648179&group_id=5470


More information about the Python-bugs-list mailing list