Message238698
> Isn't there some discussion somewhere that if iter(x) returns x you probably have buggy code?
I agree that the issue comes from TextIOWrapper.__iter__(),
BufferedReader.__iter__() and FileIO.__iter__() returns simply return
self *and* have a close method. The issue is not "yield from". |
|
Date |
User |
Action |
Args |
2015-03-20 16:02:55 | vstinner | set | recipients:
+ vstinner, georg.brandl, paul.moore, ncoghlan, r.david.murray, ethan.furman, python-dev, serhiy.storchaka, bkabrda, sYnfo, wolma |
2015-03-20 16:02:55 | vstinner | link | issue23700 messages |
2015-03-20 16:02:55 | vstinner | create | |
|