This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cool-RR
Recipients cool-RR, ezio.melotti, mrabarnett, rhettinger
Date 2011-04-05.21:17:00
SpamBayes Score 0.0003347924
Marked as misclassified No
Message-id <1302038220.94.0.68381105879.issue11775@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-04-05 21:17:00cool-RRsetrecipients: + cool-RR, rhettinger, ezio.melotti, mrabarnett
2011-04-05 21:17:00cool-RRsetmessageid: <1302038220.94.0.68381105879.issue11775@psf.upfronthosting.co.za>
2011-04-05 21:17:00cool-RRlinkissue11775 messages
2011-04-05 21:17:00cool-RRcreate