Ram Rachum <cool...@cool-rr.com> added the comment:

How is it "not the Python way"? Why is it okay to make `dict.keys` into a smart 
object but it's not okay to make `Counter.elements` a smart object?

These are not random ideas. I'm using `Counter` in a contract project and I 
find the need to make `if counter:` checks.

I'll ask on Python-ideas to get people's opinions.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11775>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to