[issue20192] pprint chokes on set containing frozenset

R. David Murray report at bugs.python.org
Wed Jan 8 19:00:29 CET 2014


R. David Murray added the comment:

FYI, 'crash' is for when the CPython interpreter segfaults, not when python produces a traceback.

Sets and frozensets are not comparable to anything except themselves, unlike most other Python2 datatypes.  In Python3, most disparate types are not comparable, including sets and frozensets.

To fix this issue in 2.7's pprint I think we would have to backport the fix from issue 3976.

----------
components: +Library (Lib)
nosy: +r.david.murray
type: crash -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20192>
_______________________________________


More information about the Python-bugs-list mailing list