Fate of itertools.dropwhile() and itertools.takewhile()
Raymond Hettinger
python at rcn.com
Sun Dec 30 19:21:34 EST 2007
[Michele Simionato]
> in my code
> base I have exactly zero occurrences of takewhile and
> dropwhile, even if I tend to use the itertools quite
> often. That should be telling.
Thanks for the additional empirical evidence.
> I presume you did scans of
> large code bases and you did not find occurrences of
> takewhile and dropwhile, right?
Yes.
Raymond
More information about the Python-list
mailing list