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

SourceForge.net noreply at sourceforge.net
Thu Feb 1 22:04:34 CET 2007


Bugs item #1648179, was opened at 2007-01-30 15:00
Message generated for change (Comment added) made by rhettinger
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: duncan (urubu147)
Assigned to: Raymond Hettinger (rhettinger)
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

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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2007-02-01 16:04

Message:
Logged In: YES 
user_id=80475
Originator: NO

Fixed.  See versions 53616 and 53617.

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

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