[issue31563] Change repr of dict_keys, dict_values, and dict_items to use curly braces

Serhiy Storchaka report at bugs.python.org
Sat Sep 23 18:05:29 EDT 2017


Serhiy Storchaka added the comment:

I concur with Raymond.

As for supporting the full set() API I thought about making unbound method set.union() and friends accepting arbitrary Set objects (or even arbitrary iterables), not just set objects, as a first argument. But I didn't investigate how this will affect the performance of the set objects.

----------
nosy: +serhiy.storchaka
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31563>
_______________________________________


More information about the Python-bugs-list mailing list