Message238691
| Author | serhiy.storchaka |
|---|---|
| Recipients | bkabrda, ethan.furman, georg.brandl, ncoghlan, paul.moore, python-dev, sYnfo, serhiy.storchaka, vstinner, wolma |
| Date | 2015-03-20.15:22:08 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1426864928.55.0.93029263627.issue23700@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Thank you for your explanation Wolfgang! Now it is clear to me. The issue is that the generator calls the close() method of the subgenerator, but if the subgenerator is a file, the close() method closes (surprise!) the file. Two different protocols use the same method. Interesting, how many similar bugs was introduced by blindly replacing "for/yield" with "yield from"? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-03-20 15:22:08 | serhiy.storchaka | set | recipients: + serhiy.storchaka, georg.brandl, paul.moore, ncoghlan, vstinner, ethan.furman, python-dev, bkabrda, sYnfo, wolma |
| 2015-03-20 15:22:08 | serhiy.storchaka | set | messageid: <1426864928.55.0.93029263627.issue23700@psf.upfronthosting.co.za> |
| 2015-03-20 15:22:08 | serhiy.storchaka | link | issue23700 messages |
| 2015-03-20 15:22:08 | serhiy.storchaka | create | |