Author josiahcarlson
Date 2007-04-09.20:06:37
SpamBayes Score
Marked as misclassified
I wouldn't be averse to adding utility functions to some module where it would make sense.  Generally, I would say collections (it has a deque and default dictionary already), though there is already a proposed constructor called 'count' that returns the counts of all items in a sequence as a default dictionary (requiring that the items all be hashable).

The reason I'm not against utility functions is because then they would be usable for 3rd party non-list, non-tuple sequences, or even usable in cases like 'a = array.array(...); i = index(a, value)'.
Date User Action Args
2007-08-23 15:57:56adminlinkissue1696444 messages
2007-08-23 15:57:56admincreate