Eric Snow added the comment: Actually, here's a patch with the first option. It preserves iterators as iterators, rather than dumping them into a list. I've also rolled the tests from issue16221 into this patch. Consequently, if the patch is suitable, that issue can be closed.
---------- keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file27560/untokenize_compat_force_iter.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16224> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com