Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8435
___
___
Python-bugs-list
Gath-Gealaich gathgeala...@gmail.com 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
Raymond Hettinger rhettin...@users.sourceforge.net 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
New submission from Eugene Kapun abacabadabac...@gmail.com:
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
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8435
___
Raymond Hettinger rhettin...@users.sourceforge.net 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