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.

Author amaury.forgeotdarc
Recipients Carl.Friedrich.Bolz, amaury.forgeotdarc
Date 2008-10-07.16:40:21
SpamBayes Score 0.0003040294
Marked as misclassified No
Message-id <1223397625.71.0.702013547491.issue4069@psf.upfronthosting.co.za>
In-reply-to
Content
The KeyError initially contains the correct frozenset, but its content
is swapped with the original set object (yes, like C++ std::set::swap(),
this mutates the frozenset!).

Attached a patch with unit test. The exception now shows the original key:
    KeyError: {3, 4}
History
Date User Action Args
2008-10-07 16:40:26amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, Carl.Friedrich.Bolz
2008-10-07 16:40:25amaury.forgeotdarcsetmessageid: <1223397625.71.0.702013547491.issue4069@psf.upfronthosting.co.za>
2008-10-07 16:40:24amaury.forgeotdarclinkissue4069 messages
2008-10-07 16:40:23amaury.forgeotdarccreate