David M. Wilson wrote: > Before charging on ahead with this small task, I was wondering if anyone > would have any objections to such an upgrade. It seems to me that > itertools.chain() could come in handy there, at least. > > My only objection to the current implementation is that it doesn't > reflect the current Python "best practice" for what it does, and it > could be really simply made into a live demo of the itertools module.
I personally would not care, but if you have fun doing that, go ahead. The major requirement would be that the result is 100% (better 150%) compatible with the old code, even in border cases. I don't know whether this is possible at all, from experience, I would guess that there is a significant chance of breaking something. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com