Message238698
| Author |
vstinner |
| Recipients |
bkabrda, ethan.furman, georg.brandl, ncoghlan, paul.moore, python-dev, r.david.murray, sYnfo, serhiy.storchaka, vstinner, wolma |
| Date |
2015年03月20日.16:02:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwbXvadTkr0v6tyXypKw=RmcWp=3+ahNb+T6XxVFgKmdiQ@mail.gmail.com> |
| In-reply-to |
<1426866702.16.0.558224613586.issue23700@psf.upfronthosting.co.za> |
| Content |
> 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". |
|
History
|
|---|
| 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 |
|