{"push_id":2027524991,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"34be2eae1a538d14e73b65fb1bebdb5488dd7dbf","before":"f53ef079bee587245df2c23520f1f52846ea911d","commits":[{"sha":"34be2eae1a538d14e73b65fb1bebdb5488dd7dbf","author":{"name":"jeremyxu2010","email":"c3f7c538ec711ede0b403fa01a0fdf448547fda2@gmail.com"},"message":"修改为更准确的描述\n\nitertools.chain(*files)导致gen_opener()生成器被提前全部消费掉，因此在此场景不适合，参见原文https://www.safaribooksonline.com/library/view/python-cookbook-3rd/9781449357337/ch04s13.html。但仍可以用yield from itertools.chain.from_iterable(files)，itertools.chain.from_iterable相对于itertools.chain，它是懒消费的。\r\n见https://stackoverflow.com/questions/15004772/what-is-the-difference-between-chain-and-chain-from-iterable-in-itertools。","distinct":true,"url":"https://api.github.com/repos/jeremyxu2010/python3-cookbook/commits/34be2eae1a538d14e73b65fb1bebdb5488dd7dbf"}]}
{"actor":{"display_login":"jeremyxu2010"}}