This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: set update problem with class derived from dict
Type: Stage:
Components: None Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: rhettinger, urubu147
Priority: normal Keywords:

Created on 2007-01-30 20:00 by urubu147, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
bug_report.txt urubu147, 2007-01-30 20:00 minimal example of possible fix
Messages (2)
msg31141 - (view) Author: duncan (urubu147) Date: 2007-01-30 20:00
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
msg31142 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2007-02-01 21:04
Fixed.  See versions 53616 and 53617.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44523
2007-01-30 20:00:01urubu147create