New submission from Jose Antonio Martin H: Is it possible to consider the automatic type conversion from set to frozenset whenever a set is declared inside a set, as the key of a Counter and as the key of a Dict? Tha is, the case when a set is used but a hashable object is requested.
Having to deal with typing frozenset every time is very uncomfortable and it is quite natural to work with sets of sets. If you get an exception when trying to create a set of set then why not deferring such exception to the case of trying to modify an immutable set? ---------- components: Library (Lib) messages: 184451 nosy: jamartinh priority: normal severity: normal status: open title: Automatic type conversion from set to frozenset type: enhancement versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com