[issue8435] It is possible to observe a mutating frozenset

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8435] It is possible to observe a mutating frozenset

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks ggeal. Closing as won't fix. The code is functioning as designed and documented. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue8435] It is possible to observe a mutating frozenset

2010-04-18 Thread Gath-Gealaich
Gath-Gealaich added the comment: I have found this in Python 3.1.2 documentation: "Note, the elem argument to the __contains__(), remove(), and discard() methods may be a set. To support searching for an equivalent frozenset, the elem set is temporarily mutated during the search and then rest

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm not sure that I care about this one. The only way to pull it off it is to intentionally try to mutate the frozenset. Will look at it along with the others though. -- priority: -> low ___ Python tracker <

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Eugene Kapun
New submission from Eugene Kapun : This code shows that frozensets aren't really immutable. The same frozenset is printed twice, with different content. Buggy functions are set_contains, set_remove and set_discard, all in Objects/setobject.c class bad: def __eq__(self, other):