New submission from Andreas Kostyrka:
import datetime, pprint
pprint.pformat({datetime.datetime.now(): 1, None: 1})
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.7/pprint.py, line 63, in pformat
return PrettyPrinter(indent=indent, width=width
Andreas Kostyrka added the comment:
This also applies to sets.
--
title: pprint not handline uncomparable dictionary keys well - pprint not
handline uncomparable dictionary keys, set members well
___
Python tracker rep...@bugs.python.org
http